Partilhar via


AbortSignalLike interface

Permite que o pedido seja abortado após o acionamento do evento "abortar". Compatível com o browser AbortSignal incorporado e polifills comuns.

Propriedades

aborted
addEventListener
dispatchEvent
onabort
removeEventListener

Detalhes de Propriedade

aborted

aborted: boolean

Valor de Propriedade

boolean

addEventListener

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

Valor de Propriedade

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

dispatchEvent

dispatchEvent: (event: Event) => boolean

Valor de Propriedade

(event: Event) => boolean

onabort

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

Valor de Propriedade

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

removeEventListener

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

Valor de Propriedade

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