You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Albert221 I love your DelegatingStream solution to this problem, really clean and works even when there are no subscriptions to the stream.
We currently use a solution like this, not sure if it would be possible to change the behavior of the map function, as it is defined for the Stream class, and ValueStream is also a Stream. And adding function like mapValue might add too much complexity to the already not very beginner-friendly rxdart, but definitely something to discuss
Hello,
shouldn't
ValueStream<T>.map(U Function(T))
returnValueStream<U>
instead ofStream<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.
The text was updated successfully, but these errors were encountered: