Skip to main content

on_output

Function on_output 

Source
pub fn on_output(watcher: impl Fn() + 'static)
Expand description

Calls watcher whenever the program prints or a closure it gave fails later, so whoever shows that can read printed and late_problems. One at a time: a new one replaces it.