-
Notifications
You must be signed in to change notification settings - Fork 1k
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
core/muxer: Deprecate StreamMuxerExt::next_{inbound,outbound}
#3002
Conversation
// Just calling `poll_outbound` without `poll` is fine here because mplex makes progress through all `poll_` functions. It is hacky though. | ||
let mut outbound = poll_fn(|cx| client.poll_outbound_unpin(cx)) | ||
.await | ||
.expect("unexpected error"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugly repetition but will go away with: #2952
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@thomaseizinger with |
Working on it here: #3031 |
Description
Links to any relevant issues
StreamMuxer
implementations #2952Open Questions
Change checklist
I have added tests that prove my fix is effective or that my feature works