Method PurgeAsync
- Namespace
- NATS.Client.KeyValueStore
- Assembly
- NATS.Client.KeyValueStore.dll
PurgeAsync(string, NatsKVDeleteOpts?, CancellationToken)
Purge an entry from the bucket
ValueTask PurgeAsync(string key, NatsKVDeleteOpts? opts = null, CancellationToken cancellationToken = default)
Parameters
key
stringKey of the entry
opts
NatsKVDeleteOptsDelete options
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.