CancelGuard.token

CancelToken token() @trusted nothrow @nogc

Get the cancellation token for this guard.

Returns

Token that will become cancelled when the guard is destroyed.