Method GetBytesAsync
- Namespace
- NATS.Client.ObjectStore
- Assembly
- NATS.Client.ObjectStore.dll
GetBytesAsync(string, CancellationToken)
Get object by key.
public ValueTask<byte[]> GetBytesAsync(string key, CancellationToken cancellationToken = default)
Parameters
key
stringObject key.
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.