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

fix: create raceAndCancelPending proc #1175

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

diegomrsantos
Copy link
Contributor

@diegomrsantos diegomrsantos commented Aug 11, 2024

The race proc in chronos doesn't cancel the remaining futures; sometimes that's what we need to do. This PR creates a proc that executes a race between a provided sequence of futures and cancels any remaining futures that have not yet been completed.

Related to #1165 and #1170

@diegomrsantos diegomrsantos changed the title create raceCancell fix: create raceCancell proc Aug 12, 2024
@diegomrsantos diegomrsantos changed the title fix: create raceCancell proc fix: create raceAndCancelPending proc Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: backlog
Development

Successfully merging this pull request may close these issues.

2 participants