AsyncCombiner<T, E> typedef

Future<T> AsyncCombiner (
  1. T previous,
  2. E e
)

An asynchronous funcuntion that combines an element e with a previous value previous, for use with reduceAsync.

Implementation

typedef AsyncCombiner<T, E> = Future<T> Function(T previous, E e);