Function run_unordered_with_params

Source
pub async fn run_unordered_with_params<'future, Runnable: 'future, Params, T, E>(
    runnables: impl Iterator<Item = &'future mut Runnable>,
    params: Params,
    closure: impl for<'b> Fn(usize, Params, &'b mut Runnable) -> BoxFuture<'b, Result<T, E>>,
) -> Result<Vec<T>, Vec<E>>
where Params: Clone, T: Debug, E: Debug,
Expand description

Runs the provided closure with parameters on all supplied runnables concurrently in the unordered way.