-
Notifications
You must be signed in to change notification settings - Fork 278
Open
Description
Hi, I'm currently working on downloads in my app and I want to use throttleTime to reduce the amount of updates I sent when using my Bloc.
The question is:
Is there a way to receive the first event immediately , wait for a certain duration and emit the last event after that, and repeat until u reach the end and u also emit the last emitted state?
I tried with .throttleTime(Duration(seconds:2), trailing: true, leading: true)
but seems that it doesn't work as expected. I receive all the updates and is not waiting for that window of time.
I'm using rxdart: 0.27.7
Metadata
Metadata
Assignees
Labels
No labels