pub type IdleHook = fn();
A worker idle hook: a plain function pointer called on the worker thread immediately before it parks for work.