Skip to main content

apply

Function apply 

Source
fn apply(
    state: &AppState,
    actor: &str,
    def_id: &str,
    to: &IdentityAccount,
    provider: &str,
    blocks: &[Block],
    all: &[IdentityAccount],
    now: bool,
) -> AgentAccountSwitchResult
Expand 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.