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

feat: add auto Connection::into_owned #128

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

seanmonstar
Copy link
Member

I noticed when trying to make use of #127 that you cannot currently create and reuse a server builder, and spawn the connections into a new task, because Connection borrows the Builder. (In hindsight, it probably should have just made a clone, but oh well.) This adds the ability to disconnect the lifetimes.

@seanmonstar seanmonstar merged commit 8f29948 into master May 28, 2024
16 checks passed
@seanmonstar seanmonstar deleted the auto-conn-into-owned branch May 28, 2024 12:10
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