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
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