Skip to main content

OutputCallback

Type Alias OutputCallback 

Source
pub type OutputCallback = Arc<dyn Fn(&str) + Send + Sync>;
Expand description

A streamed-output callback (stdout/stderr). Fn(&str).

Aliased Typeยง

pub struct OutputCallback { /* private fields */ }