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
Alejandro Rios
05/30/2023, 10:04 AM
with a delay (?)
👍 2
j
jean
05/30/2023, 10:27 AM
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
akshaychordiya
05/30/2023, 3:24 PM
You could look at debounce too, it feels that should solve your criteria