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

ValueStream.map should return ValueStream (?) #735

Open
Albert221 opened this issue Jul 31, 2023 · 0 comments
Open

ValueStream.map should return ValueStream (?) #735

Albert221 opened this issue Jul 31, 2023 · 0 comments

Comments

@Albert221
Copy link

Hello,

shouldn't ValueStream<T>.map(U Function(T)) return ValueStream<U> instead of Stream<U>?

I'd like to have an easy way to map the value stream while preserving the value stream characteristics.

This is what I used instead: https://gist.github.com/Albert221/c0da244cec07f7f2de317d19d9a56a27

Probably related to #625.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant