Skip to main content

spawn_progress_thread

Function spawn_progress_thread 

Source
pub fn spawn_progress_thread(state: Arc<ProgressState>) -> JoinHandle<()>
Expand description

Spawn a background thread that renders the progress bar at ~10 Hz (TTY) or every ~10 s / 10% milestone (non-TTY).