Skip to content
FunctionAssets & Loading@public

throwIfAborted

Throws a browser-standard abort error when a loading signal is cancelled.

ts
export declare function throwIfAborted(signal: AbortSignal): void

Parameters

ParameterTypeDescription
signalAbortSignal-

Returns

void

Released under the MIT License.