Interface INatsSub<T>
public interface INatsSub<T> : IAsyncDisposable
Type Parameters
T
- Inherited Members
Properties
- Msgs
Access incoming messages for your subscription.
- QueueGroup
If specified, the subscriber will join this queue group. Subscribers with the same queue group name, become a queue group, and only one randomly chosen subscriber of the queue group will consume a message each time a message is received by the queue group.
- Subject
The subject name to subscribe to.
Methods
- UnsubscribeAsync()
Complete the message channel, stop timers if they were used and send an unsubscribe message to the server.