pub async fn select3<A: Future, B: Future, C: Future>(
first: A,
second: B,
third: C,
) -> Either3<A::Output, B::Output, C::Output>Expand description
Polls three futures concurrently, resolves the one that completes first.
If several complete at the same time, the earliest one in the argument list wins, the others are dropped.
ยงCancel safety
This function is cancel safe if first, second and third are.