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

What should happen if an actor 'crashes'? #1

Open
LaylBongers opened this issue Jun 13, 2023 · 1 comment
Open

What should happen if an actor 'crashes'? #1

LaylBongers opened this issue Jun 13, 2023 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@LaylBongers
Copy link
Collaborator

With recent changes, actors are now stopped when returning an error from the process function.

What should be done when this happens? Actors 'crashing' is a normal occurrence, even if it shouldn't happen in well-written code. Should downstream actors be informed in some way? Should the crash 'bubble up' to parent actors?

@LaylBongers LaylBongers added enhancement New feature or request question Further information is requested labels Jun 13, 2023
@LaylBongers
Copy link
Collaborator Author

Notable: Rust's error handling with Result makes errors very explicit. This is valuable, we don't want to mimic the behavior of exceptions where errors can happen at very unexpected times. How can we best cover this in the API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant