cancel method

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

Throws an exception, composite tokens may not be cancelled programmatically.

Implementation

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