pub fn set_waker(f: impl Fn() + Send + Sync + 'static)Expand description
Installs a waker that is called (from the queuing thread) every time a
new job is pushed. Use this to wake a condvar or similar so the main
thread can call drain_pending promptly instead of polling.