A signal for work that completes outside the sequence, such as an event.
Declare it in config.signals to register it, which makes it an obligation: the run cannot finish until it settles. Wait for it with .awaiting(name).
config.signals
.awaiting(name)
Readonly
The underlying defer, for interop with the positional API.
True until the signal settles.
Settle the signal with a failure, which fails the run.
Settle the signal with a value.
A signal for work that completes outside the sequence, such as an event.
Declare it in
config.signalsto register it, which makes it an obligation: the run cannot finish until it settles. Wait for it with.awaiting(name).