Function aggregate_errors

Source
pub async fn aggregate_errors<I, F, Fut, T>(
    operations: I,
) -> Result<Vec<T>, Yoshi>
where I: IntoIterator<Item = F>, F: FnOnce() -> Fut, Fut: Future<Output = Result<T, Yoshi>>,
Expand description

Async error aggregation for parallel operations

ยงErrors

Returns a Yoshi error with multiple errors aggregated if any operations fail.