AgentAbortSignal class final

The agent's cooperative abort signal (issue #2256).

The framework's CancellationToken is checked at cooperative cancellation points rather than observed through a listener, so the signal is a LIVE view of the context: aborted re-reads the token and the deadline on every call instead of caching a flag that a cancel would never flip.

Properties

aborted → bool
Whether the context has been cancelled or its deadline has passed.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
throwIfAborted() → void
Raises CancellationTokenException when aborted, at a cancellation point in the agent's tool loop.
toString() → String
A string representation of this object.
inherited

Operators

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