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
AbortSignal.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
listener: EventListenerOrEventListenerObject
optional
options: boolean | AddEventListenerOptions