Function dynpool::func_worker
source · pub fn func_worker<F>(
init: impl Fn(usize) -> F + Sync + Send + 'static
) -> impl SystemWorkwhere
F: FnMut() -> Decision,
Expand description
Begin creating a system which calls the given closure to create a work function for each thread.