AbortSignalLike interface

Umožňuje přerušení požadavku při spuštění události "abort". Kompatibilní s integrovaným prohlížečem AbortSignal a běžnými polyfilly.

Vlastnosti

aborted
addEventListener
dispatchEvent
onabort
removeEventListener

Podrobnosti vlastnosti

aborted

aborted: boolean

Hodnota vlastnosti

boolean

addEventListener

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

Hodnota vlastnosti

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

dispatchEvent

dispatchEvent: (event: Event) => boolean

Hodnota vlastnosti

(event: Event) => boolean

onabort

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

Hodnota vlastnosti

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

removeEventListener

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

Hodnota vlastnosti

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