Table of Contents

Method AckProgressAsync

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

AckProgressAsync(AckOpts?, CancellationToken)

Indicates that work is ongoing and the wait period should be extended.

ValueTask AckProgressAsync(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.

Remarks

Time period is defined by the consumer's ack_wait configuration on the server which is defined as how long to allow messages to remain un-acknowledged before attempting redelivery.

This message must be sent before the ack_wait period elapses. The period should be extended by another amount of time equal to ack_wait by the NATS JetStream server.