ShutdownCoordinator.shutdownToken

CancelToken shutdownToken() @property @safe nothrow @nogc

Get the global shutdown cancellation token.

Returns

A token that will be cancelled when shutdown starts.