Function await::examples::async::await_all [] [src]

pub fn await_all<T, A: Await<T> + 'static>(xs: Vec<A>) -> Box<AwaitBox<Vec<T>>>

Returns an Await that will await for all inputs to finish and produce a Vec with the results. This method returns immediatly.

TODO: once impl Trait lands we can change this to .. -> impl Await<Vec<T>>