Function veilid_tools::async_try_at_most_n_things

source ·
pub async fn async_try_at_most_n_things<T, I, C, R, F>(
    max: usize,
    things: I,
    closure: C
) -> Option<R>
where I: IntoIterator<Item = T>, C: Fn(T) -> F, F: Future<Output = Option<R>>,