Skip to main content

settle_reader_tasks

Function settle_reader_tasks 

Source
async fn settle_reader_tasks(
    block_id: &str,
    stderr_reader_handle: Option<JoinHandle<()>>,
    stdout_reader_handle: JoinHandle<()>,
    after: &str,
)
Expand description

Wait for the process’s reader tasks once it has ended (stderr up to 500ms, stdout up to 10s), aborting any that overruns. after names how the process ended (“process exit” or “kill”) in the warning.