Method DeleteAsync
- Namespace
- NATS.Client.KeyValueStore
- Assembly
- NATS.Client.KeyValueStore.dll
DeleteAsync(string, NatsKVDeleteOpts?, CancellationToken)
Delete an entry from the bucket
public ValueTask DeleteAsync(string key, NatsKVDeleteOpts? opts = null, CancellationToken cancellationToken = default)Parameters
- keystring
- Key of the entry 
- optsNatsKVDeleteOpts
- Delete options 
- cancellationTokenCancellationToken
- A CancellationToken used to cancel the API call.