Method AckProgressAsync
AckProgressAsync(AckOpts?, CancellationToken)
Indicates that work is ongoing and the wait period should be extended.
public ValueTask AckProgressAsync(AckOpts? opts = null, CancellationToken cancellationToken = default)
Parameters
opts
AckOpts?Ack options.
cancellationToken
CancellationTokenA CancellationToken used to cancel the call.
Returns
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.