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

Added TaskFactory cancel_all_tasks() and wait_all_tasks_finished() #116

Open
wants to merge 2 commits into
base: 5.0
Choose a base branch
from

Conversation

davidbrochart
Copy link
Contributor

@davidbrochart davidbrochart commented Apr 19, 2024

This PR is an alternative to #115.
Instead of cancelling/waiting for individual tasks, it creates a sub-task group that it can cancel and recreate. The drawback is that it adds one level for exceptions.

@coveralls
Copy link

coveralls commented Apr 19, 2024

Coverage Status

coverage: 93.679% (+0.1%) from 93.541%
when pulling b02717f on davidbrochart:task-factory2
into 21652de on asphalt-framework:5.0.

@davidbrochart
Copy link
Contributor Author

The drawback is that it adds one level for exceptions.

Fixed in b02717f.

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

Successfully merging this pull request may close these issues.

2 participants