Type Alias rayon_core::ExitHandler
source ยท pub(crate) type ExitHandler = dyn Fn(usize) + Send + Sync;
Expand description
The type for a closure that gets invoked when a thread exits. The closure is passed the index of the thread on which is is invoked. Note that this same closure may be invoked multiple times in parallel.