Method DisposeAsync NamespaceNATS.Client.Services AssemblyNATS.Client.Services.dll DisposeAsync() Stop the service. public ValueTask DisposeAsync() Returns ValueTask