run

Function run 

Source
pub fn run(on_idle: impl FnMut())
Expand description

Execute tasks from the thread-local queue until all tasks are completed. The callback on_idle is called when all tasks are blocked.