Skip to main content

run

Function run 

Source
pub fn run(
    opts: RunOptions,
    on_event: Option<Arc<dyn Fn(StreamEvent) + Send + Sync>>,
) -> RunHandle
Expand description

Launch an agent run. Returns a RunHandle with the result future and abort handle.