framework-js
framework-js copied to clipboard
Introduce DataStream.flatten() method
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 :+1:.