AbortSignalLike interface

Permite anular la solicitud al desencadenar el evento "abort". Compatible con el explorador integrado AbortSignal y polyfills comunes.

Propiedades

aborted
addEventListener
dispatchEvent
onabort
removeEventListener

Detalles de las propiedades

aborted

aborted: boolean

Valor de propiedad

boolean

addEventListener

addEventListener: (type: "abort", listener: (this: AbortSignalLike, ev: Event) => any, options?: any) => void

Valor de propiedad

(type: "abort", listener: (this: AbortSignalLike, ev: Event) => any, options?: any) => void

dispatchEvent

dispatchEvent: (event: Event) => boolean

Valor de propiedad

(event: Event) => boolean

onabort

onabort: null | (this: AbortSignalLike, ev: Event) => any

Valor de propiedad

null | (this: AbortSignalLike, ev: Event) => any

removeEventListener

removeEventListener: (type: "abort", listener: (this: AbortSignalLike, ev: Event) => any, options?: any) => void

Valor de propiedad

(type: "abort", listener: (this: AbortSignalLike, ev: Event) => any, options?: any) => void