fn apply(
state: &AppState,
actor: &str,
def_id: &str,
to: &IdentityAccount,
provider: &str,
blocks: &[Block],
all: &[IdentityAccount],
now: bool,
) -> AgentAccountSwitchResultExpand description
Link agent to to and restart each of blocks on it. actor is recorded. now ends a
turn in progress; otherwise the caller has seen that no pane is in one.