Table of Contents

Method ResetAsync

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

ResetAsync(ulong, CancellationToken)

Not supported for ordered consumers, which recreate their underlying ephemeral consumer to seek.

public ValueTask<ConsumerResetResponse> ResetAsync(ulong seq = 0, CancellationToken cancellationToken = default)

Parameters

seq ulong

Stream sequence to reset to.

cancellationToken CancellationToken

A CancellationToken used to cancel the API call.

Returns

ValueTask<ConsumerResetResponse>

A faulted task.

Exceptions

NotSupportedException

Always.