Skip to main content

begin

Function begin 

Source
async fn begin(
    state: &AppState,
    actor: &Actor,
    req: &MoveRequest,
    target: &AgentDefinition,
    host: &str,
    tell: &Tell<'_>,
) -> Result<Begun, Refusal>
Expand description

The agent is handed over (stopped, marked, written to a file) for a first move, or the kept move is taken up again for a resume.