signal_wait

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL