WayfinderCancellation class abstract interface

Asks a long operation to stop. An operation checks isCancelled between steps and stops a running child process when whenCancelled completes; it then throws WayfinderException.cancelled. Cancelling is not a rollback: what an operation already finished stays finished.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
isCancelled → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
whenCancelled → Future<void>
Completes once, when cancellation is requested; never with an error.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited