Function spawn_multi

Source
pub fn spawn_multi<T, F>(
    tasks: Vec<T>,
    done_fn: F,
    threads: usize,
) -> Result<()>
where F: FnMut(String), T: 'static + Send + Task,