-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Provide Flow operators for UI programming #1107
Comments
Maybe @JakeWharton and @gildor could point a few more necessary operators? |
I definitely think having an at-most-every operator is essential. Where you want notifications at most every, say, 1 second. The key part of this is that if 1.5 seconds elapse, the next notification is received instantly. RxJava calls this |
If we are talking about UI programming And agree with Jar, switchMap is just essential |
Thanks for your advice! |
* switchMap * debounce * sample * Update RxJava version to 2.2.8 Partially fixes #1107
* switchMap * debounce * sample * Update RxJava version to 2.2.8 Partially fixes #1107
Partially :) |
Could an operator like the following be added? The debounce operator is already added, but I need one with a different timeout depending on the item. It shouldn’t be too difficult to modify the current operator to add this. I can explain my use case for this operator if needed.
|
Please explain and create a separate issue for that |
In case someone needs it (internet provides some ridiculous implementations):
|
There is a family of operators which are widespread in UI but which are tricky to implement (especially with current
select
statement):--
switchMap
--
debounce
(throttle
andsample
?)--
takeUntil(flow)
(?)The text was updated successfully, but these errors were encountered: