https://kotlinlang.org logo
#rx
Title
u

ursus

04/14/2018, 3:55 AM
is there a sort of a "sideffect flatmap"? i.e. like doOnNext but with observable, where I want to execute it but want to still keep upstream returned value
l

leolima

04/16/2018, 12:23 PM
I’m not sure this is what you want, but
flatMap
has an overload where you can pass a `resultSelector`: http://reactivex.io/RxJava/javadoc/io/reactivex/Observable.html#flatMap-io.reactivex.functions.Function-io.reactivex.functions.BiFunction-
u

ursus

04/18/2018, 3:11 AM
thx
3 Views