pub type OutputFn = Arc<dyn Fn(OutputLine) + Send + Sync + 'static>;Expand description
Output callback. Arc so it can be cloned into the two reader tasks
(stdout / stderr) and outlive the caller’s stack frame.
The callback runs on a tokio task, so it must not block for long; push the line into a channel / log if any real work is needed.
Aliased Type§
pub struct OutputFn { /* private fields */ }