Table of Contents

Method GetStatusesAsync

Namespace
NATS.Client.KeyValueStore
Assembly
NATS.Client.KeyValueStore.dll

GetStatusesAsync(CancellationToken)

Gets the status for all buckets

public IAsyncEnumerable<NatsKVStatus> GetStatusesAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

used to cancel the API call.

Returns

IAsyncEnumerable<NatsKVStatus>

Async enumerable of Key/Value statuses. Can be used in a await foreach loop.

Exceptions

NatsJSException

There was an issue retrieving the response.

NatsJSApiException

Server responded with an error.