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 the raceFirst function #27

Open
rcardin opened this issue Sep 27, 2024 · 0 comments
Open

Add the raceFirst function #27

rcardin opened this issue Sep 27, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@rcardin
Copy link
Owner

rcardin commented Sep 27, 2024

The raceFirst function must have the same semantics as the IO.race function of the Cats-Effect library.
In detail, here is the expected behavior:

  • If the quickest execution succeeds, return its value and cancel the other executions.
  • If the quickest execution fails, return its error and cancel the other executions.
@rcardin rcardin added the enhancement New feature or request label Sep 27, 2024
@rcardin rcardin added this to the v0.0.4 milestone Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant