pub fn flush(timeout: Duration)Expand description
Wait, at most timeout, for every queued line to reach the console.
Called by the entry points on their way out; harmless when the queue is not installed. Bounded because a console that has stopped accepting bytes must not turn a clean exit into a hang.