Consumes an input iterable and optionally applies a mapping function to each element.
Returns a Promise of an array containing the results of the mapping function.
Returns
A function that accepts an input iterable and returns a Promise of an array containing the results.
Consumes an input iterable and optionally applies a mapping function to each element. Returns a Promise of an array containing the results of the mapping function.
Returns
A function that accepts an input iterable and returns a Promise of an array containing the results.
Example