Function ::std::future::join
async fn join(value)
Waits for a collection of futures to complete and joins their result.
Examples
let a = async ;
let b = async ;
let = join .await;
assert_eq!;
assert_eq!;
Using a vector:
let a = async ;
let b = async ;
let = join .await;
assert_eq!;
assert_eq!;
Joining an empty collection:
let = join .await;
let = join .await;