Trait futures_concurrency::prelude::Join
source · [−]pub trait Join {
type Output;
fn join<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'async_trait>>
where
Self: 'async_trait;
}
Expand description
Wait for multiple futures to complete.
Awaits multiple futures simultaneously, returning the output of the futures once both complete.
Associated Types
Required methods
Waits for multiple futures to complete.
Awaits multiple futures simultaneously, returning the output of the futures once both complete.
This function returns a new future which polls both futures concurrently.