isCancellationRequested property
bool
get
isCancellationRequested
Gets whether cancellation has been requested for this CancellationTokenSource.
Implementation
bool get isCancellationRequested => _state != _notCanceledState;