Definition
DOM Standard defines AbortSignal
[Exposed=*]
interface AbortSignal : EventTarget {
[NewObject] static AbortSignal abort(optional any reason);
[Exposed=(Window,Worker), NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);
[NewObject] static AbortSignal _any(sequence<AbortSignal> signals);
readonly attribute boolean aborted;
readonly attribute any reason;
undefined throwIfAborted();
attribute EventHandler onabort;
};
Methods and attributes that return objects implementing AbortSignal
Referring IDL interfaces/dictionaries
AbortController
AbortSignal
AddEventListenerOptions
AuctionAdConfig
CloseWatcherOptions
ColorSelectionOptions
CredentialCreationOptions
CredentialRequestOptions
IdleOptions
LockOptions
NDEFMakeReadOnlyOptions
NDEFScanOptions
NDEFWriteOptions
NavigateEvent
NavigateEventInit
ReadOptions
Request
RequestInit
SchedulerPostTaskOptions
StreamPipeOptions
SubscribeOptions
Subscriber
TaskSignal
WatchAdvertisementsOptions
WritableStreamDefaultController
Referring specifications
- Fetch Standard refers to
AbortSignal
- HTML Standard refers to
AbortSignal
- Streams Standard refers to
AbortSignal
- Web NFC refers to
AbortSignal
- Web Bluetooth refers to
AbortSignal
- EyeDropper API refers to
AbortSignal
- Idle Detection API refers to
AbortSignal
- Observable refers to
AbortSignal
- Prioritized Task Scheduling refers to
AbortSignal
- Protected Audience (formerly FLEDGE) refers to
AbortSignal
- Credential Management Level 1 refers to
AbortSignal
- Geolocation Sensor refers to
AbortSignal
- Web Locks API refers to
AbortSignal