ResultExtensionsReduceAsync Method

Overload List

ReduceAsync(IEnumerableTaskRes) (async version) Reduces the collection of results to a single result:
  • returns Ok when all results are Ok;
  • Ok if the collection is empty;
  • the first Err otherwise.
ReduceAsyncT(IEnumerableTaskResT) (async version) Reduces the collection of results to result of list of values:
  • returns Ok(List<T>) when all results are Ok;
  • Ok(empty list of T) if the collection is empty;
  • the first Err otherwise.

See Also