Skip to content

basalt / ai/src / throwIfAborted

Function: throwIfAborted() ​

> throwIfAborted(signal?): void

Defined in: ai/src/provider/abort.ts:15

Throw an abortError if the signal is already aborted.

Parameters ​

signal? ​

AbortSignal

Returns ​

void

Released under the MIT License.