Skip to content

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

Merged
seanmonstar merged 1 commit into
masterfrom
graceful-watcher
Apr 17, 2025
Merged

feat(server): add graceful::Watcher type#182
seanmonstar merged 1 commit into
masterfrom
graceful-watcher

Conversation

@seanmonstar

Copy link
Copy Markdown
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

tottoto commented Apr 16, 2025

Copy link
Copy Markdown
Contributor

I agree that this is more appropriate than implementing clone.

@seanmonstar seanmonstar merged commit 8610b18 into master Apr 17, 2025
@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