pub async fn map_ordered_concurrent<I, T, F, Fut>(
items: &[I],
concurrency: usize,
task: F,
) -> Result<Vec<T>, HttpError>Expand description
Runs task for every item with at most concurrency tasks at a time, each on its own
thread. Results keep the order of items. A concurrency of zero counts as one.
Returns HttpError::WorkerPanicked when a task panics.