throwIfAborted
throwIfAborted(
signal):void
Defined in: packages/synapse-core/src/utils/abort.ts:11
Throw iso-web’s AbortError if the signal has already been aborted.
Used before signing so an aborted call never triggers a wallet prompt.
Unlike AbortSignal.prototype.throwIfAborted, it throws the same AbortError
the HTTP requests reject with.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
signal |
AbortSignal | undefined |
Returns
Section titled “Returns”void