pub async fn run_unordered<'future, Runnable, T, E>(
runnables: impl Iterator<Item = Runnable>,
closure: impl Fn(usize, Runnable) -> BoxFuture<'future, Result<T, E>>,
) -> Result<Vec<T>, Vec<E>>Expand description
Runs the provided closure on all supplied runnables concurrently in the unordered way.