Skip to content

EventConsumerSleep

EventConsumerSleep = (ms, signal) => Promise<void>

Defined in: packages/server/src/events/consumer.ts:160

The deterministic seam the runner waits on. signal is aborted by stop(), so a stopping runner never lingers for a full idle ceiling. Injected only by tests; production uses an abortable setTimeout.

number

AbortSignal

Promise<void>