Method RefreshAsync
RefreshAsync(CancellationToken)
Retrieve the stream info from the server and update this stream.
public ValueTask RefreshAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.
Returns
Exceptions
- NatsJSException
There was an issue retrieving the response.
- NatsJSApiException
Server responded with an error.