pub type RunObserver = Arc<dyn Fn(CommandRun) + Send + Sync>;Expand description
Told about every top-level command that ran (not about calls refused before running, and not about nested calls). Runs on the thread that executed the command, so it must be cheap.
Aliased Typeยง
pub struct RunObserver { /* private fields */ }