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

core/muxer: Deprecate StreamMuxerExt::next_{inbound,outbound} #3002

Merged
merged 5 commits into from Oct 12, 2022

Conversation

thomaseizinger
Copy link
Contributor

Description

Links to any relevant issues

Open Questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

core/CHANGELOG.md Outdated Show resolved Hide resolved
// 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");
Copy link
Contributor Author

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

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks!

@mxinden mxinden merged commit f711dd5 into master Oct 12, 2022
@mxinden
Copy link
Member

mxinden commented Oct 14, 2022

@thomaseizinger with v0.49.0 released, can you create a pull request removing the deprecated methods?

@thomaseizinger
Copy link
Contributor Author

@thomaseizinger with v0.49.0 released, can you create a pull request removing the deprecated methods?

Working on it here: #3031

@thomaseizinger thomaseizinger deleted the deprecate-muxer-ext branch November 17, 2022 01:18
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