Table of Contents

Method ListAsync

Namespace
NATS.Client.ObjectStore
Assembly
NATS.Client.ObjectStore.dll

ListAsync(NatsObjListOpts?, CancellationToken)

List all the objects in this store.

IAsyncEnumerable<ObjectMetadata> ListAsync(NatsObjListOpts? opts = null, CancellationToken cancellationToken = default)

Parameters

opts NatsObjListOpts

List options

cancellationToken CancellationToken

A CancellationToken used to cancel the API call.

Returns

IAsyncEnumerable<ObjectMetadata>

An async enumerable object metadata to be used in an await foreach