Method DeleteStoreAsync
- Namespace
- NATS.Client.KeyValueStore
- Assembly
- NATS.Client.KeyValueStore.dll
DeleteStoreAsync(string, CancellationToken)
Delete a Key Value Store
ValueTask<bool> DeleteStoreAsync(string bucket, CancellationToken cancellationToken = default)
Parameters
bucket
stringName of the bucket
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.
Returns
Exceptions
- NatsJSException
There was an issue retrieving the response.
- NatsJSApiException
Server responded with an error.