parallel
Run many async function in parallel
1272 bytes
Usage
Like _.map
but built specifically to run the async callback functions
in parallel. The first argument is a limit of how many functions should
be allowed to run at once. Returns an array of results.
Errors
When all work is complete parallel will check for errors. If any
occurred they will all be thrown in a single AggregateError
that
has an errors
property that is all the errors that were thrown.