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 custom error management to structured concurrency #2

Open
rcardin opened this issue May 16, 2024 · 0 comments
Open

Add custom error management to structured concurrency #2

rcardin opened this issue May 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rcardin
Copy link
Owner

rcardin commented May 16, 2024

Now, the structured construct responds only to exceptions. If any forked jobs throw an exception, the other jobs are immediately canceled, and the exception is bubbled up to the caller.

It should be possible to have the same behavior using a custom error management, like using Either[E, A] instead of exceptions.

@rcardin rcardin added the enhancement New feature or request label May 16, 2024
@rcardin rcardin added this to the v0.0.2 milestone May 16, 2024
@rcardin rcardin modified the milestones: v0.0.2, v0.0.3 May 28, 2024
@rcardin rcardin removed this from the v0.0.3 milestone Jun 15, 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