Skip to main content

run_in_turn

Function run_in_turn 

Source
async fn run_in_turn(
    runner: Arc<dyn ToolRunner>,
    queue: Arc<Mutex<()>>,
    params: Value,
    tool: &str,
    health: Arc<Health>,
    handle: Handle,
) -> Result<Result<String>, String>
Expand description

Waits for the tool’s turn, then runs the call on a thread of its own. The outer error is why there was no answer from the call itself.