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
optsNatsObjListOptsList options
cancellationTokenCancellationTokenA CancellationToken used to cancel the API call.
Returns
- IAsyncEnumerable<ObjectMetadata>
An async enumerable object metadata to be used in an
await foreach