Constructor NatsJSOrderedConsumer
NatsJSOrderedConsumer(string, NatsJSContext, NatsJSOrderedConsumerOpts, CancellationToken)
Creates a new NATS JetStream ordered consumer.
public NatsJSOrderedConsumer(string stream, NatsJSContext context, NatsJSOrderedConsumerOpts opts, CancellationToken cancellationToken)
Parameters
stream
stringName of the stream.
context
NatsJSContextNATS JetStream context.
opts
NatsJSOrderedConsumerOptsConsumer options.
cancellationToken
CancellationTokenA CancellationToken used to cancel consume and fetch operations.