Table of Contents

Method StopAsync

Namespace
NATS.Client.Services
Assembly
NATS.Client.Services.dll

StopAsync(CancellationToken)

Stop the service.

ValueTask StopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken used to cancel the stop operation.

Returns

ValueTask

A ValueTask representing the asynchronous operation.