whenCancelled property

Future<void> get whenCancelled

Completes when the token is cancelled.

Implementation

Future<void> get whenCancelled => _done.future;