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 clean close example #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add clean close example #52

wants to merge 1 commit into from

Conversation

xackery
Copy link

@xackery xackery commented Oct 9, 2023

This was based on an issue on the lxn main repo.

This example shows how you can handle close messages and "cleanly" shut down locally via a context cancellation.

Since your repo is the most up to date, I figured I'd PR here.

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