method AbortSignal.addEventListener
Jump to headingAbortSignal.addEventListener<K extends keyof AbortSignalEventMap>(type: K,listener: (this: AbortSignal,ev: AbortSignalEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): void
Type Parameters Jump to heading
Jump to headingK extends keyof AbortSignalEventMap
Parameters Jump to heading
Jump to headingtype: K
Jump to headinglistener: (this: AbortSignal,ev: AbortSignalEventMap[K],) => any
optional
Jump to headingoptions: boolean | AddEventListenerOptions
Return Type Jump to heading
void
Jump to headingAbortSignal.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
Parameters Jump to heading
Jump to headingtype: string
optional
Jump to headingoptions: boolean | AddEventListenerOptions
Return Type Jump to heading
void