2.x: switchMapSingle and switchMapCompletable
See original GitHub issueHey,
the addition of flatMapSingle
/flatMapCompletable
made the usage of Single
and Completable
way nicer in RxJava 2.
Do you consider adding switchMapSingle
/switchMapCompletable
to RxJava 2 as well?
Cheers
Issue Analytics
- State:
- Created 7 years ago
- Reactions:9
- Comments:32 (18 by maintainers)
Top Results From Across the Web
Developers - 2.x: switchMapSingle and switchMapCompletable -
Coming soon: A brand new website interface for an even better experience!
Read more >Observable (RxJava Javadoc 3.1.5) - ReactiveX
Maps the upstream items into MaybeSource s and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals)...
Read more >FRP - RxJava - The Android Arsenal
Version 2.x. The 2.x version is end-of-life as of February 28, 2021. ... switchMap, switchMapSingle , switchMapMaybe , switchMapCompletable ...
Read more >BehaviorSubject (RxJava Javadoc 2.2.10)
assertResult(2); // Observers coming after the subject was terminated ... put the result of getValue() into an array manually, will be removed in...
Read more >What is the difference between flatmap and switchmap in ...
Do you know a real world example where switchMap would be used? – Julian Go. Jan 28, 2015 at 8:45. 2.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
But then
concatMap
also needs the variants in order to be consistent. To be honest I forgot about those when proposingflatMapSingle / flatMapCompletable / flatMapMaybe
initially - #4667And then there’s also
Maybe
. PlusObservable
andFlowable
are able of mapping so it’s easily another 12 methods.I’m happy to have a look at this one if @tomaszpolanski doesn’t have time at the moment.