Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Know how many tasks are active #110

Open
FenixGit opened this issue Sep 23, 2022 · 0 comments
Open

Know how many tasks are active #110

FenixGit opened this issue Sep 23, 2022 · 0 comments

Comments

@FenixGit
Copy link

FenixGit commented Sep 23, 2022

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant