Function ntex_util::future::select[][src]

pub async fn select<A, B>(fut_a: A, fut_b: B) -> Either<A::Output, B::Output> where
    A: Future,
    B: Future

Waits for either one of two differently-typed futures to complete.