Skip to content

Know how many tasks are active #110

Description

@FenixGit

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions