Module delay
Expand description
Delayed start: engine.start(wf, id, &input).delay(d) (or .at(t)).
A coordinator run, fusee.delay/<id>, sleeps on a durable timer until
the time comes, then starts the run under id as a child that outlives
it, and returns that run’s result. So the delay survives crashes like any
timer, fusee runs ls shows what is waiting, and result() of the
delayed run works before the run exists. Cancelling the coordinator
before the time cancels the start. Nothing of this touches a step.
Structs§
- Delayed
Start - The coordinator’s input.
Constants§
- DELAY_
TYPE - The coordinator’s workflow type.
Functions§
- coordinator_
id - The coordinator’s workflow ID for a delayed run’s ID.