Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce DataStream.flatten() method #55

Open
f1ames opened this issue Dec 13, 2021 · 0 comments
Open

Introduce DataStream.flatten() method #55

f1ames opened this issue Dec 13, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@f1ames
Copy link
Contributor

f1ames commented Dec 13, 2021

Feature description

Introduce DataStream.flatten() method similar to v4:

A shorthand for streams of arrays or iterables to flatten them.

More efficient equivalent of: .flatmap(i => i); Works on streams of async iterables too.


If you are interested in this issue or this type of transforms fits your use case, please upvote with 👍.

@f1ames f1ames added enhancement New feature or request good first issue Good for newcomers labels Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant