Skip to main content

finish

Function finish 

Source
async fn finish(
    state: &AppState,
    target: &AgentDefinition,
    host: &str,
    journal: &Journal,
    registered: &Value,
    tell: &Tell<'_>,
) -> Result<Value, Refusal>
Expand description

The destination registered the agent: it is marked moved here, and the file and the journal are removed.