attach method
Attaches a function that will be called when the CancellationToken is canceled.
See Notifier.attach().
Implementation
Object attach(Function listener) => _notifier.attach(listener);
Attaches a function that will be called when the CancellationToken is canceled.
See Notifier.attach().
Object attach(Function listener) => _notifier.attach(listener);