Method UpdateStreamAsync
UpdateStreamAsync(StreamConfig, CancellationToken)
Update a NATS JetStream stream's properties.
ValueTask<NatsJSStream> UpdateStreamAsync(StreamConfig request, CancellationToken cancellationToken = default)
Parameters
request
StreamConfigStream update request object to be sent to NATS JetStream server.
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.
Returns
- ValueTask<NatsJSStream>
The updated NATS JetStream stream object.
Exceptions
- NatsJSException
There was an issue retrieving the response.
- NatsJSApiException
Server responded with an error.