map

Function map 

Source
pub(crate) fn map<T: Send>(
    size: usize,
    parallel: Parallel,
    f: impl Fn(usize) -> Result<T> + Sync + Send,
) -> Result<Vec<T>>
Expand description

Evaluate f at 0..size in order, stopping at an error.