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

Add all() helper to await successful fulfillment of all operations #8

Merged
merged 1 commit into from
Apr 30, 2018

Conversation

clue
Copy link
Owner

@clue clue commented Apr 30, 2018

A common use case for this queue is to ensure all jobs are successfully fulfilled and to cancel all outstanding jobs if even a single one fails. This PR add a simple all() API which ensures that all jobs MUST be fulfilled successfully and will otherwise ensure that all other jobs should be cancelled.

Resolves / closes #6
Builds on top of #7

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

Successfully merging this pull request may close these issues.

Consider implementing queue that requires all jobs to be successfully fulfilled
1 participant