-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Missing Flow operators #437
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
Comments
Yes. However, we really want to abstract aways all kinds of streams first (see #254) and then implement all the operators on top of it. I'll keep it open though. PRs are still welcome. |
It would be really useful to have the |
@ashdavies Please, don't create a new issue. Let's keep a list of missing operators here. |
Hopefully, channel will implement the same interface as cold stream and we will implement operators once and for all |
Especially 👍 for |
I'd love to see more overloads for the combineLatest operator, or at least one In RxJava I really often use the pattern of combining the latest emissions of an observable into a view state: Observable.combineLatest(userStream, recipeForId(id), foodFavoritesStream, userSettingsStream, ::buildViewState) |
A However, I have the same use case, and I'd like to have I set 4 or 5 as the hard limit because beyond that point, it's unlikely the code is readable, and intermediate combined flows should be used instead (possibly using Is that blocked by |
All of them have been eventually implemented |
Merge is still missing, but filed #1491 |
ReceiveChannel
is missing some very useful extension functions.combineLatest()
.distinctUntilChanged()
.switchMap()
.merge()
.scan()
.filterIsInstance()
Would it be possible to add these?
The text was updated successfully, but these errors were encountered: