Skip to main content

stream_exec_resume

Function stream_exec_resume 

Source
pub async fn stream_exec_resume<F>(
    codex: &Codex,
    cmd: &ExecResumeCommand,
    handler: F,
) -> Result<()>
where F: FnMut(JsonLineEvent),
Expand description

Stream JSONL events from codex exec resume, invoking handler for each parsed JsonLineEvent.