Skip to content

Emit disconnect event when network connection is lost #27

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

AWann2
Copy link
Contributor

@AWann2 AWann2 commented May 26, 2025

Updates the NUClearNet class to emit a 'disconnect' event when network connection is lost during packet processing.

This will allow users of the class to handle errors properly instead of crashing when an error occurs during packet processing.

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

Successfully merging this pull request may close these issues.

1 participant