[][src]Function dynpool::func_worker

pub fn func_worker<F>(
    init: impl Fn(usize) -> F + Sync + Send + 'static
) -> impl SystemWork where
    F: FnMut() -> Decision

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