Table of Contents

Constructor NatsSub

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

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 INatsConnection
manager INatsSubscriptionManager
subject string
queueGroup string
opts NatsSubOpts
serializer INatsDeserialize<T>
cancellationToken CancellationToken