withCallDeadline
withCallDeadline<
T>(timeoutMs,start):Promise<typeofCALL_TIMED_OUT|T>
Defined in: packages/core/src/runtime/abortableCall.ts:183
The single-shot form: start a budget, run one call under it, and dispose the budget on every
exit — including the throwing one, which is why the finally is not optional.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”timeoutMs
Section titled “timeoutMs”number
The wall-clock budget in milliseconds.
(signal) => Promise<T>
As raceCallDeadline’s.
Returns
Section titled “Returns”Promise<typeof CALL_TIMED_OUT | T>