zng::task

Function all

Source
pub async fn all<F>(
    futures: impl IntoIterator<Item = F>,
) -> Vec<<F as IntoFuture>::Output>
where F: IntoFuture,
Expand description

A future that awaits on all futures at the same time and returns all results when all futures are ready.

This is the dynamic version of all!.