Join Slack
Powered by
I'm looking for a way to update a UI from a flow a...
# coroutines
r
Rob
05/06/2021, 6:15 PM
I'm looking for a way to update a UI from a flow at a given interval. I was using sample() which works but the first emit is delayed. Is there a way to emit the first item without delay using sample() or some other function?
Untitled.kt
g
gildor
05/07/2021, 12:14 AM
There is no throttle operator in Flow, at least as I remember, there is should be a feature request on coroutines issue tracker
2
Views
Open in Slack
Previous
Next