Table of Contents

Class NatsSubEvents

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

Callbacks invoked at points in a subscription's lifecycle. Set using Events.

public record NatsSubEvents : IEquatable<NatsSubEvents>
Inheritance
NatsSubEvents
Implements
Inherited Members

Properties

OnSubscribed

Invoked when the subscription has been established, that is, once the SUB protocol message has been queued for sending to the server. This is the same guarantee SubscribeCoreAsync<T>(string, string?, INatsDeserialize<T>?, NatsSubOpts?, CancellationToken) provides when it completes.