ResultExtensionsMapReduceAsync Method

Overload List

MapReduceAsyncT(IEnumerableT, FuncT, TaskRes) (async version) Applies the result mapper to the collection and reduces it to a single result:
  • returns Ok when all results are Ok;
  • Ok if the collection is empty;
  • the first Err otherwise.
MapReduceAsyncT, TOut(IEnumerableT, FuncT, TaskResTOut) (async version) Applies the result mapper to the collection and reduces it to a single result:
  • 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