Function simple_join

Source
pub fn simple_join<'a, Fut>(
    futures: impl IntoIterator<Item = Fut>,
) -> impl Future<Output = ()> + 'a
where Fut: Future<Output = ()> + 'a,
Expand description

Create a new future that finishes when the list of futures complete.

Note: this code was not taken from any other crate.

ยงPanics

The returned future will delay any panic in a queued future until all futures have completed in order to prevent accidental cancellation.