https://kotlinlang.org logo
Title
g

gildor

08/23/2019, 2:24 PM
First, you use conflate(), which just drop not processed values
Second that you need combineLatest if you want cancel previous emission
j

Jan Skrasek

08/23/2019, 2:26 PM
CombineLatest has wrong name and probably that is the reason is deprecated. CombineLatest is jsut combine.
In the example above I'm using conflate() and it gives weird result.
g

gildor

08/23/2019, 2:27 PM
Ah yeah, it's renamed in 1.3
What kind result do you expect from conflate?
j

Jan Skrasek

08/23/2019, 2:27 PM
Nothing particular from conflate. I need to cancel the transforme in combine, if new value arrives.
I'd like the example above to print 5C, as mentioned ^^