cancel method

  1. @override
void cancel([
  1. CancelledException? exception
])
override

Throws an exception, time-out tokens may not be cancelled programmatically.

Implementation

@override
void cancel([CancelledException? exception]) => throw SquadronErrorExt.create(
    'TimeOutToken cannot be cancelled programmatically', StackTrace.current);