ResettableAbortController.abort method
ResettableAbortController › abort
Aborts the current signal and replaces it with a fresh, non-aborted one.Signature:
abort(reason?: unknown): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| reason? | unknown | The reason to abort with. When omitted, the signal is aborted with the native AbortError {@link DOMException}, exactly as {@link AbortController.abort} does. |
Returns: void