reason

The reason JS AbortSignal returns signal’s abort reason.

Syntax

signal.reason

Examples

1 · void

2 · reason

abort

aborted

throwIfAborted

timeout

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu