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