CancelSource.isCancelled

bool isCancelled() @property const @safe nothrow @nogc

Check if this source has been cancelled.

Returns

true when the source is cancelled.