AdkAbortSignal class
Read-only cancellation signal propagated through an invocation.
Properties
Methods
-
addListener(
void listener(Object? reason)) → void -
Registers
listenerto run when the signal is aborted. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListener(
void listener(Object? reason)) → void -
Removes a previously registered
listener. -
throwIfAborted(
) → void - Throws AdkAbortException when aborted is true.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited