Method GetObjectStoreAsync
- Namespace
- NATS.Client.ObjectStore
- Assembly
- NATS.Client.ObjectStore.dll
GetObjectStoreAsync(string, CancellationToken)
Get an existing object store.
ValueTask<INatsObjStore> GetObjectStoreAsync(string bucket, CancellationToken cancellationToken = default)
Parameters
bucket
stringBucket name
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.
Returns
- ValueTask<INatsObjStore>
The Object Store object