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(); }; }
public LucidCache(LucidHelper lucidHelper) { _lucidHelper = lucidHelper; }