Method GetAccountInfoAsync
GetAccountInfoAsync(CancellationToken)
Calls JetStream Account Info API.
public ValueTask<AccountInfoResponse> GetAccountInfoAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.
Returns
- ValueTask<AccountInfoResponse>
The account information based on the NATS connection credentials.