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

Graceful shutdown #10

Merged
merged 4 commits into from
Nov 19, 2023
Merged

Graceful shutdown #10

merged 4 commits into from
Nov 19, 2023

Conversation

NotThatRqd
Copy link
Owner

Main addition is the ShutdownConfig struct. This update allows users to listen for when the server is shutting down for any reason (including ctrl+c) and allows users to shut down the server themselves. The counting app example shows how it works 👍

@NotThatRqd NotThatRqd merged commit 1991f71 into main Nov 19, 2023
1 check passed
@NotThatRqd NotThatRqd deleted the graceful-shutdown branch November 19, 2023 07:18
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