ReactiveX / rxdart

The Reactive Extensions for Dart

Home Page:http://reactivex.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueStream.map should return ValueStream (?)

Albert221 opened this issue · comments

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.