token

abstract fun token(): CancellationToken(source)

Returns a token associated with this CancellationTokenSource. Always returns the same instance.

Return

The cancellation token.