RateLimit for IProgress<T> #59373
Replies: 1 comment
-
System.Reactive has such utility for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys!
Recently I was working on a winforms app and doing some work with background tasks and updating the UI.
After a bit of coding I started to notice that my form is slowing down due to a lot of data being updated via IProgress.
Then I noticed that every time I call IProgress.Report(T value) the default implementation (Progress) makes a call to the UI using the current context synchronization (Post).
So I created a wrapper around Progress in order to limit calls to the UI.
Is there any plan to improve the implementation of IProgress for this kind of rate limit ?
Simple Rate Limited Work Around
Beta Was this translation helpful? Give feedback.
All reactions