MissionCancelToken class

External cancellation handle. reason is the wire failure_reason the terminal frame reports: cancelled for a backend cancel or a preemption, user_interrupted when a person touched the app (RN / Android interruptActive). The first reason wins.

Inheritance

Constructors

MissionCancelToken()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isCancelled → bool
no setteroverride
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
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