pub async fn any_some<Some, F>(
futures: impl IntoIterator<Item = F>,
) -> Option<Some>where
F: IntoFuture<Output = Option<Some>>,
Expand description
A future that awaits on all futures
at the same time and returns when any future is Some(_)
or all are None
.
This is the dynamic version of all_some!
.