Skip to main content

infer_participants

Function infer_participants 

Source
pub fn infer_participants(
    target: &str,
    unit_consumes: &HashMap<String, Vec<String>>,
    kinds: &BTreeMap<String, UnitKind>,
) -> Vec<String>
Expand description

v0.118: infer a system-tier suite’s wired participants — the target’s transitive consumes closure (testing track slice 6). A BFS from the target following consumes edges; the returned list starts with the target and includes every context reachable through it (deterministic breadth order). #1856: contexts only. A unit consumed for its capabilities alone (consumes bynk { Clock }, an adapter) is provided in-process by the composition root: no Worker, no Service Binding, no wire to cross. The walk still passes through one, but it is no participant.