StackExchange.Redis
StackExchange.Redis copied to clipboard
Should I call .SubscribeAsync and then .Unsubscribe (not Async)?
This is not an issue but my question about best practices when using this awesome library.
I subscribed to a channel with
var cmq = conn.GetSubscriber().SubscribeAsync(channel)
Then, when my disposable object is disposed, I call cmq.Unsubscribe()
not cmq.UnsubscribeAsync()
.
Is there any problem with that?