AbortSignalLike interface

Umożliwia przerwanie żądania po wyzwoleniu zdarzenia "przerwania". Zgodność z wbudowaną przeglądarką AbortSignal i typowymi poliwypełnianiami.

Właściwości

aborted
addEventListener
dispatchEvent
onabort
removeEventListener

Szczegóły właściwości

aborted

aborted: boolean

Wartość właściwości

boolean

addEventListener

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

Wartość właściwości

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

dispatchEvent

dispatchEvent: (event: Event) => boolean

Wartość właściwości

(event: Event) => boolean

onabort

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

Wartość właściwości

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

removeEventListener

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

Wartość właściwości

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