The abort JS AbortSignal returns an AbortSignal instance whose abort reason is set to reason if not undefined; otherwise to an "AbortError" DOMException.
Syntax
AbortSignal.abort(reason)
Parameters
reason
The reason for the abort.
The abort JS AbortSignal returns an AbortSignal instance whose abort reason is set to reason if not undefined; otherwise to an "AbortError" DOMException.
AbortSignal.abort(reason)
The reason for the abort.