Canceller class

Write side — one flip, sticky, with a reason.

Inheritance

Constructors

Canceller({CancelSignal? parent})

Properties

hashCode → int
The hash code for this object.
no setterinherited
isCancelled → bool
no setteroverride
parent → CancelSignal?
Optional upstream signal (the mission's cancel token).
final
reason → String?
Why the signal fired — a wire-format reason (cancelled, step_timeout) so a checkpoint can report the CAUSE rather than a generic abort.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel([String? reason]) → void
Idempotent; the FIRST reason wins (a step_timeout that lands after a user cancel must not relabel the outcome).
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