Expand description
Per-frame agent completion tracking — the synchronization primitive used
by the scheduler to coordinate agents that declare Hard dependencies.
At frame start the scheduler builds an AgentCompletionMap populated
with one StageHandle<AgentDone> per known agent. After each agent
execute() (or skip), the scheduler calls AgentCompletionMap::mark
with a CompletionOutcome. Dependents either inspect the outcome
synchronously via AgentCompletionMap::outcome or — once the parallel
scheduler is enabled — await it via AgentCompletionMap::wait.
Structs§
- Agent
Completion Map - Frame-scoped map of agent completion handles.
- Agent
Done - Marker type for the “an agent finished its frame work” stage.
Enums§
- Completion
Outcome - What happened to an agent this frame, from the scheduler’s point of view.