Skip to main content

run

Function run 

Source
pub(super) async fn run(
    state: &AppState,
    v: &PendingView,
    block_ids: Vec<String>,
    detail: String,
) -> (&'static str, Option<String>, String)
Expand description

Close each agent still in the request, all at once as separate requests would have, and record how each ended. The request’s own status is failed if any close failed (with each error named), else shut_down if any closed, else superseded.