AbortSignal class

Abort cancellation signal

await F4.one(()=>Future.value(1), abortSignal:abortController.signal);

Constructors

AbortSignal([Function? onAbort])

Properties

aborted bool
no setter
completers List<Completer?>
getter/setter pair
error AbortError?
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
onAbort(Function fn) → void
toString() String
A string representation of this object.
inherited

Operators

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