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

Define Connection::closed helper to await connection termination #1396

Merged
merged 2 commits into from Aug 16, 2022
Merged

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented Aug 15, 2022

This has come up several times, most recently in #1395. While equivalent behavior is already possible by waiting for e.g. IncomingUniStreams to yield Err or None, this is substantially more discoverable.

djc
djc previously approved these changes Aug 15, 2022
Copy link
Collaborator

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending clippy fixes.

@djc
Copy link
Collaborator

djc commented Aug 16, 2022

There are still some warnings noted by Actions on the unused ptr import, maybe clean those up too?

@Ralith Ralith force-pushed the closed branch 2 times, most recently from f25b534 to df98590 Compare August 16, 2022 16:44
This has come up several times, most recently in
#1395. While equivalent
behavior is already possible by waiting for e.g. `IncomingUniStreams`
to yield `Err` or `None`, this is substantially more discoverable.
@djc djc merged commit 72a0e08 into main Aug 16, 2022
@djc djc deleted the closed branch August 16, 2022 17:05
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.

None yet

2 participants