Skip to main content

settle_each

Function settle_each 

Source
fn settle_each(
    state: &AppState,
    defs: &[AgentDefinition],
    key_present: impl Fn(&str) -> bool,
) -> (bool, Vec<String>)
Expand description

Settles each agent that waits: whether anything changed (the windows are told), and the agents that took their route, the only ones whose panes are restarted onto it. key_present says whether the Vault has a key, by label.