A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
readonly
aborted: booleanReturns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
readonly
reason: anyonabort: ((this: AbortSignal,ev: Event,) => any) | nulladdEventListener<K extends keyof AbortSignalEventMap>(type: K,listener: (this: AbortSignal,ev: AbortSignalEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof AbortSignalEventMap>(type: K,listener: (this: AbortSignal,ev: AbortSignalEventMap[K],) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(): voidthrowIfAborted(): voidThrows this AbortSignal's abort reason, if its AbortController has signaled to abort; otherwise, does nothing.