Function dynpool::dyn_func_worker

source ·
pub fn dyn_func_worker(
    init: impl Fn(usize) -> Box<dyn FnMut() -> Decision> + Sync + Send + 'static
) -> impl SystemWork
Expand description

Begin creating a system which calls the given closure to create a boxed work function for each thread.