Table of Contents

Method RefreshAsync

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

RefreshAsync(CancellationToken)

Retrieve the consumer info from the server and update this consumer.

public ValueTask RefreshAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken used to cancel the API call.

Returns

ValueTask

Exceptions

NatsJSException

There was an issue retrieving the response.

NatsJSApiException

Server responded with an error.