Join Slack
Powered by
Hello! Does Kotlin Flow has collectLatest function...
# coroutines
p
PHondogo
01/26/2022, 9:10 AM
Hello! Does Kotlin Flow has collectLatest function but without cancelling current block?
b
bezrukov
01/26/2022, 9:13 AM
simple
collect
? If you want to process only the last available value at a time, add
.conflate()
before
p
PHondogo
01/26/2022, 9:53 AM
Conflate - exactly what I need. Thanks!
4
Views
Open in Slack
Previous
Next