https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

Saurabh

06/15/2020, 8:47 AM
The
combineLatest
operator is deprecated for flows. Is there a way to achieve similar results with some other api in flow?
o

octylFractal

06/15/2020, 8:52 AM
reading the deprecation messages is useful 😛
"Flow analogue of 'combineLatest' is 'combine'"
😀 1
g

gildor

06/15/2020, 8:53 AM
There is even a hot fix, if you press Alt + Enter you will see “Replace with combine”
s

Saurabh

06/15/2020, 8:53 AM
Yeah it is. I didn't check this in an IDE but the combineLatest docs. I should have done that. My bad. 😅
1241 Views