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;
 }