Companion

Functions

Link copied to clipboard
fun abort(reason: JsError? = definedExternally): AbortSignal

The AbortSignal.abort() static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).

Link copied to clipboard

The AbortSignal.any() static method takes an iterable of abort signals and returns an AbortSignal.

Link copied to clipboard
fun timeout(milliseconds: UInt53): AbortSignal

The AbortSignal.timeout() static method returns an AbortSignal that will automatically abort after a specified time.