Skip to main content

TextCallback

Type Alias TextCallback 

Source
pub type TextCallback = Box<dyn FnMut(&str) + Send>;
Expand description

Receives a command’s output as text, as it arrives.

Aliased Type§

pub struct TextCallback(/* private fields */);