Skip to content

Async collection mapping #4

Description

@iamandylamb

The Mapper includes two async collection mapping methods. MapAsync and MapParallel.
MapAsync maps each item sequentially, but the whole collection asynchronously.
MapParallel maps each item asynchronously, wrapping all mapping tasks in a WhenAll task to give the same signature as MapAsync but using a different approach.

Whether this is useful or not, I'm not sure. It may just be adding complication for not much benefit.
Need to think about:

  • Naming - should it be MapParallelAsync? Or something else?
  • Documentation - If it's staying, it'll need some really clear documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions