method AbortSignal.addEventListener
AbortSignal.addEventListener<K extends keyof AbortSignalEventMap>(type: K,listener: (this: AbortSignal,ev: AbortSignalEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): void
K extends keyof AbortSignalEventMap
type: K
listener: (this: AbortSignal,ev: AbortSignalEventMap[K],) => any
optional
options: boolean | AddEventListenerOptions
void
AbortSignal.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
listener: EventListenerOrEventListenerObject
optional
options: boolean | AddEventListenerOptions
void