Skip to main content

monitor_owned_execution

Function monitor_owned_execution 

Source
async fn monitor_owned_execution<F>(
    store: &AgentTaskStore,
    options: &AgentWorkerOptions,
    claim: &AgentTaskClaim,
    cancel_tx: Sender<bool>,
    execution: F,
    shutdown: &mut Receiver<bool>,
) -> Result<()>
where F: Future<Output = Result<AgentRun>>,