pub(super) fn choose<'a>(
accounts: &'a [IdentityAccount],
blocked: &HashMap<String, String>,
left: &dyn Fn(&str) -> bool,
from: &IdentityAccount,
) -> Option<&'a IdentityAccount>Expand description
Where the agents of from go: a signed-in login of the same account (stable id) that nothing
blocks, else another signed-in account of its provider that can run. blocked is
account_blocks (an account a pane found out of quota or signed out); left says an account an
agent was just moved off over its limit, which no pane has re-tested.