Method UpdateAsync
UpdateAsync(StreamConfig, CancellationToken)
Update stream properties on the server.
ValueTask UpdateAsync(StreamConfig request, CancellationToken cancellationToken = default)
Parameters
request
StreamConfigStream update request to be sent to the server.
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.
Returns
Exceptions
- NatsJSException
There is an error retrieving the response or this consumer object isn't valid anymore because it was deleted earlier.
- NatsJSApiException
Server responded with an error.