pub fn run(on_idle: impl FnMut())
Execute tasks from the thread-local queue until all tasks are completed. The callback on_idle is called when all tasks are blocked.
on_idle