Table of Contents

Method DeleteStoreAsync

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

DeleteStoreAsync(string, CancellationToken)

Delete a Key Value Store

public ValueTask<bool> DeleteStoreAsync(string bucket, CancellationToken cancellationToken = default)

Parameters

bucket string

Name of the bucket

cancellationToken CancellationToken

A CancellationToken used to cancel the API call.

Returns

ValueTask<bool>

True for success

Exceptions

NatsJSException

There was an issue retrieving the response.

NatsJSApiException

Server responded with an error.