AbortSignal$Typings extension

on

Properties

aborted bool

Available on AbortSignal, provided by the AbortSignal$Typings extension

Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
no setter
addEventListener → ({void Function<K extends AbortSignalEventMapKeys>(K type, dynamic listener(dynamic), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on AbortSignal, provided by the AbortSignal$Typings extension

Overload accessor: $1, $2
no setter
onabort ↔ dynamic Function(Event)?

Available on AbortSignal, provided by the AbortSignal$Typings extension

getter/setter pair
reason → dynamic

Available on AbortSignal, provided by the AbortSignal$Typings extension

no setter
removeEventListener → ({void Function<K extends AbortSignalEventMapKeys>(K type, dynamic listener(dynamic), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on AbortSignal, provided by the AbortSignal$Typings extension

Overload accessor: $1, $2
no setter
throwIfAborted ↔ void Function()

Available on AbortSignal, provided by the AbortSignal$Typings extension

getter/setter pair