Table of Contents

Method AckAsync

Namespace
NATS.Client.JetStream
Assembly
NATS.Client.JetStream.dll

AckAsync(AckOpts?, CancellationToken)

Acknowledges the message was completely handled.

ValueTask AckAsync(AckOpts? opts = null, CancellationToken cancellationToken = default)

Parameters

opts AckOpts?

Ack options.

cancellationToken CancellationToken

A CancellationToken used to cancel the call.

Returns

ValueTask

A ValueTask representing the async call.