Constructor NatsSub
NatsSub(INatsConnection, INatsSubscriptionManager, string, string?, NatsSubOpts?, INatsDeserialize<T>, CancellationToken)
public NatsSub(INatsConnection connection, INatsSubscriptionManager manager, string subject, string? queueGroup, NatsSubOpts? opts, INatsDeserialize<T> serializer, CancellationToken cancellationToken = default)
Parameters
connection
INatsConnectionmanager
INatsSubscriptionManagersubject
stringqueueGroup
stringopts
NatsSubOptsserializer
INatsDeserialize<T>cancellationToken
CancellationToken