Skip to main content

Interface: StepSignalOptions

Defined in: packages/workflow-engine/src/core/steps.ts:199

Properties​

keepalive?​

optional keepalive?: string | number

Defined in: packages/workflow-engine/src/core/steps.ts:213

How often the suspended stage re-suspends while no signal has arrived. Milliseconds or a duration string; defaults to five minutes, and is never later than timeout.

Signal latency is not governed by this: step.signal sets the stage's next poll to now, so the stage wakes on the host's next tick. The keepalive only bounds how long a lost nudge (a host that was down when the signal landed) can delay the wake, at the cost of one replay of the stage body per interval.


timeout​

timeout: string | number

Defined in: packages/workflow-engine/src/core/steps.ts:201

Non-sliding deadline from the first wait. Milliseconds or a duration string.