iterable::map(mapper, [ opts ]).then((collection) => {
// Like iterable::all(), collection is an object if iterable
// was a plain object, a map otherwise.
})
- wait for the
iterable promise to be resolved
- execute
mapper on an entry ASAP
- support a
concurrency option defaulting to Infinity