Skip to main content
AbortSignal.throwIfAborted - Platform - Web documentation
method AbortSignal.throwIfAborted
Private
AbortSignal.throwIfAborted(): void

Throws this AbortSignal's abort reason, if its AbortController has signaled to abort; otherwise, does nothing.

Return Type

void