SubscribeToStreamAsync and unsubscribing


The client api exposes the method SubscribeToStreamAsync. How do I/should I unsubscribe to such a stream explicitly?

Thank you.

when you subscribe it returns you a subscription object

You then call unsubscribe (or dispose the subscription object)

Oh, it returns a subscription object… I didn’t notice that, too many hours in front of the pc… Sorry :slight_smile: