Skip to content

Implement map() #3

@julien-f

Description

@julien-f
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions