Skip to main content

spawn_streaming

Function spawn_streaming 

Source
pub fn spawn_streaming<F>(
    program: &str,
    args: &[&str],
    on_line: F,
) -> ToolCallResult
where F: FnMut(&str),
Expand description

Generic-over-program variant of run_apr_streaming used by tests that need to inject a mock subprocess.