Skip to main content

stream_lines

Function stream_lines 

Source
pub fn stream_lines<F>(
    stdout: impl Read + Send + 'static,
    stderr: impl Read + Send + 'static,
    on_line: F,
) -> Result<()>
where F: FnMut(String) -> Result<()>,