Trait geese::GeeseThreadPool
source · pub trait GeeseThreadPool: 'static + Send + Sync {
// Required method
fn set_callback(&self, callback: Option<Arc<dyn Fn() + Send + Sync>>);
}Expand description
Provides a backing implementation for multithreaded Geese contexts. This trait allows for defining and customizing how multiple threads complete the work of a context.