Type alias ReducerOutput<Iterable, Output>
ReducerOutput<Iterable, Output>: Iterable extends AsynchronousIterable<infer Item> ? Iterable extends AsyncIterable<Item> ? Promise<Output> : Output : never
Type Parameters
-
Iterable extends AsynchronousIterable
-
Output
AsynchronousIterable
reducer function optional return value.