I have a flow emitting messages, possibly several ...
# android
j
I have a flow emitting messages, possibly several in less than a second, and I want to show this messages in an alert dialog. How can I make sure each messages is shown a least one second?
a
with a delay (?)
👍 2
j
true true, I was trying to check if there were some flow operator to do that but a simple delay inside onEach/collect works too I guess
a
You could look at debounce too, it feels that should solve your criteria