Skip to content

feat(server): add graceful::Watcher type #182

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

Merged
merged 1 commit into from
Apr 17, 2025
Merged

Conversation

seanmonstar
Copy link
Member

This allows creating an owned type that can be passed to another task before watching the connection.

I also included some of the "why" in code comments, why it cannot just be Clone.

Supercedes #136

@tottoto
Copy link
Contributor

tottoto commented Apr 16, 2025

I agree that this is more appropriate than implementing clone.

@seanmonstar seanmonstar merged commit 8610b18 into master Apr 17, 2025
16 checks passed
@seanmonstar seanmonstar deleted the graceful-watcher branch April 17, 2025 13:02
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.

2 participants