Table of Contents

Method GetAccountInfoAsync

Namespace
NATS.Client.JetStream
Assembly
NATS.Client.JetStream.dll

GetAccountInfoAsync(CancellationToken)

Calls JetStream Account Info API.

ValueTask<AccountInfoResponse> GetAccountInfoAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken used to cancel the API call.

Returns

ValueTask<AccountInfoResponse>

The account information based on the NATS connection credentials.