Parameters
-
callback: Unary<Item, void>
Returns (<Iterable>(iterable) => ReducerOutput<Iterable, void>)
Curried function that expects an iterable to loop over and has callback
set in context.
-
- <Iterable>(iterable): ReducerOutput<Iterable, void>
-
Type Parameters
-
Iterable extends IsomorphicIterable<Item>
For each function for iterables and asynchronous iterables.
Example