Documentation
¶
Overview ¶
Example: signal_wait
Demonstrates durable signal waits. The workflow declares an approval gate via a WaitSignal step: when execution reaches the gate, the branch hard-suspends and the process (in production, the worker) exits. An external actor delivers a signal via the SignalStore, and a fresh Execution instance resumes from the checkpoint and runs to completion.
The same pattern works for imperative ctx.Wait calls inside activities — see docs/suspension.md for the replay-safety contract.
Click to show internal directories.
Click to hide internal directories.