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

Concurrency primitives: any, all, race #131

Merged
merged 3 commits into from
Mar 21, 2024
Merged

Concurrency primitives: any, all, race #131

merged 3 commits into from
Mar 21, 2024

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Mar 21, 2024

The SDK provides a gather function to concurrently run coroutines and collect their results. It returns as soon as all results are available, and raises if any coroutine raises.

This PR introduces all, any and race which cover more concurrency use cases. See #88 for more information.

This fixes #88.

@chriso chriso self-assigned this Mar 21, 2024
@chriso chriso merged commit ada9942 into main Mar 21, 2024
3 checks passed
@chriso chriso deleted the any-all-race branch March 21, 2024 22:59
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.

Add additional concurrency primitives
2 participants