pub type SpawnObserver = Arc<dyn Fn(SpawnInfo) + Send + Sync>;Expand description
Called with SpawnInfo each time the crate spawns a CLI child.
Must not block. It runs inline between spawn and the first read of the
child’s output.
Aliased Type§
pub struct SpawnObserver { /* private fields */ }