Interface: TimeoutSignal
Makaio Framework / utils / TimeoutSignal
Interface: TimeoutSignal
Section titled “Interface: TimeoutSignal”Defined in: ../../../packages/utils/src/timeout/signal.ts:4
An AbortSignal paired with a cleanup handle for its backing timer.
Properties
Section titled “Properties”clear: () =>
void
Defined in: ../../../packages/utils/src/timeout/signal.ts:8
Cancel the backing timer before it fires, preventing the abort.
Returns
Section titled “Returns”void
signal
Section titled “signal”signal:
AbortSignal
Defined in: ../../../packages/utils/src/timeout/signal.ts:6
AbortSignal that aborts when the timeout elapses.