QuickLib icon indicating copy to clipboard operation
QuickLib copied to clipboard

Know how many tasks are active

Open FenixGit opened this issue 3 years ago • 0 comments

Please, can you tell me if TBackgroundTasks has a safe way to know how many tasks are active? I've included an inc( finished ) in .OnTerminated but I'm not sure if it's safe.

as I run my application via console through the windows task manager, I had to add a while to wait for completion.

while finished < total do
   continue;

FenixGit avatar Sep 23 '22 01:09 FenixGit