Function await::examples::async::await_all_box
[−]
[src]
pub fn await_all_box<T: 'static>(xs: Vec<Box<AwaitBox<T>>>) -> 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>>