The best way to show a timer while processing something asynchronously? #486
-
Calculating statistics for many database table rows can take a few minutes. I want to show a timer to users. The timer should be updated each second. When the calculation is complete, the calcaulation task should end the timer and send an event to the application. Have you done something like this before? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, I've done this sort of thing many times. The CustomEventDemo program provided with
|
Beta Was this translation helpful? Give feedback.
-
I found a solution.
I can put this in an asynchronous worker thread. This can be executed in response to a specific asynchronous worker request.
|
Beta Was this translation helpful? Give feedback.
I found a solution.