Skip to content

Explicit concurrency option for Stream.flatMap #5994

@fiws

Description

@fiws

What is the problem this feature would solve?

I debugged my code for a long time not noticing that Stream.flatMap takes a second argument where one can configure the concurrency.

What is the feature you are proposing to solve the problem?

Make the concurrency option NOT optional, like with Stream.mergeAll.

What alternatives have you considered?

  • Improve docs: While the docs on the website are already doing a very good job in explaining this, the tsdoc could also be improved to mention the concurrency option.
  • Get good (skill issue maybe? close the issue then 😅 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions