Function wasmer_wasix::runners::wcgi::handler::consume_stderr

source ·
async fn consume_stderr(
    stderr: impl AsyncRead + Send + Unpin + 'static,
    callbacks: Arc<dyn Callbacks>,
    propagate_stderr: bool,
) -> Option<Vec<u8>>
Expand description

Read the instance’s stderr, taking care to preserve output even when WASI pipe errors occur so users still have something they use for troubleshooting.