currentWorkCompleter property

ReadOnlyCompleter<void>? get currentWorkCompleter

Completer, which completes when current work will be stopped.

Returns null, if there is no running operation.

@throws StopForcedException, so be aware of this.

Implementation

ReadOnlyCompleter<void>? get currentWorkCompleter => _starterCompleter;