pub async fn parallel_map<T, R, E, F, Fut>(
items: Vec<T>,
max_concurrent: usize,
f: F,
) -> BatchResult<R, E>Expand description
Process items in parallel with a simple function.
pub async fn parallel_map<T, R, E, F, Fut>(
items: Vec<T>,
max_concurrent: usize,
f: F,
) -> BatchResult<R, E>Process items in parallel with a simple function.