Glossary Term
AbortSignal.throwIfAborted()
3 tags
1 category
The throwIfAborted() method throws the signal’s abort reason if the signal has been aborted; otherwise it does nothing.
An API that needs to support aborting can accept an AbortSignal object and use throwIfAborted() to test and throw when the abort event is signaled.
This method can also be used to abort operations at particular points in code, rather than passing to functions that take a signal.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
