Partager via


AbortSignal interface

Represents a signal that can be monitored to determine if a request has been aborted.

Properties

aborted

Indicates if the request has been aborted.

onabort

Set this to a handler that will be invoked when the request is aborted.

Property Details

aborted

Indicates if the request has been aborted.

aborted: boolean

Property Value

boolean

onabort

Set this to a handler that will be invoked when the request is aborted.

onabort: () => void | null

Property Value

() => void | null