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

abort

Description

The abort of AbortController for JS invoking this method will store reason in this object's AbortSignal's abort reason, and signal to any observers that the associated activity is to be aborted.

If reason is undefined, then an "AbortError" DOMException will be stored.

Syntax

controller.abort(reason)

Parameters

reason

The reason for the abort.

Examples

1 · void

2 · reason