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

Handle errors when failing to send tracked messages #4

Open
TylerBloom opened this issue Nov 15, 2023 · 0 comments
Open

Handle errors when failing to send tracked messages #4

TylerBloom opened this issue Nov 15, 2023 · 0 comments

Comments

@TylerBloom
Copy link
Owner

Currently, the code for sending a tracked message to an actor ignores failures on send. This will still cause the tracker to yield a None, but that will occur only after the tracker is polled. For clients sending a message to a Permanent actor, this message could be unwrapped in the track call to provide a clearer error message. There isn't a clear solution for sending messages to Transient actors. Perhaps an option-like enum can be used? Maybe nothing at all is needed?

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

No branches or pull requests

1 participant