Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

throwIfAborted

Description

The throwIfAborted of AbortSignal for JS throws signal’s abort reason, if signal’s AbortController has signaled to abort; otherwise, does nothing.

Syntax

signal.throwIfAborted()

Examples

1 · AbortController

2 · AbortSignal

abort

aborted

reason

timeout

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu