コード例 #1
0
        public LucidNotifications(LucidHelper helper)
        {
            EventSource = new EventSourceReader(new Uri(helper.BuildNotificationsUri())).Start();
            EventSource.Disconnected += async(object sender, DisconnectEventArgs e) => {
                await Task.Delay(e.ReconnectDelay);

                EventSource.Start();
            };
        }
コード例 #2
0
 public LucidCache(LucidHelper lucidHelper)
 {
     _lucidHelper = lucidHelper;
 }