Esempio n. 1
0
 public async Task Cancel(string subscriptionId)
 {
     if (_subscriptions.TryRemove(subscriptionId, out var subscription))
     {
         await _pubsub.Unsubscribe(subscription.Channel, subscription.Handler);
     }
 }
 public void Dispose()
 {
     _pubsub.Unsubscribe(this, Constants.SubscriptionTypes.THEME_CHANGE);
 }