pub fn emit_process_progress<T: Serialize>(
code: &str,
payload: &T,
) -> Result<(), Error>Expand description
Emit a non-terminal progress event through the process-wide route.
A command that blocks on a person has something to say before it can say
how the run ended. Progress is the only event kind that may precede the
terminal one, and on a split route it lands on the diagnostic stream, so a
caller reading only result is unaffected.