pub fn run(
opts: RunOptions,
on_event: Option<Arc<dyn Fn(StreamEvent) + Send + Sync>>,
) -> RunHandleExpand description
Launch an agent run. Returns a RunHandle with the result future and abort handle.
pub fn run(
opts: RunOptions,
on_event: Option<Arc<dyn Fn(StreamEvent) + Send + Sync>>,
) -> RunHandleLaunch an agent run. Returns a RunHandle with the result future and abort handle.