Expand description
agents wait — block until an agent is done.
Takes an instance hierarchy or a tag (the agents enqueue
selector shape — a plain ref has no live identity to wait on and
errors). The wait is uncapped — it blocks until the target is
done, however long that takes.
- Instance: subscribe to the AIH lock’s release; a free lock returns immediately.
- Un-upgraded (GROUPED) tag: the tag lock’s holder is the spawn materializing the tag. If nobody holds it, nothing is materializing it — return immediately. Otherwise subscribe to its release, re-resolve the tag (the spawn flow upgrades GROUPED→BOUND strictly before releasing the tag lock, so a still-GROUPED tag after release is a systemic invariant violation and errors fatally), then fall through to the instance wait on the freshly bound hierarchy.
Success is the bare "Ok" sentinel either way.
Modules§
Structs§
Enums§
Functions§
Type Aliases§
- Response
- Success-only: the wait completed — the target is done.