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

[protocolv2] Use new simpler readable and writable interfaces #250

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

masad-frost
Copy link
Member

Why

Follow up on #249 to actually use the new interfaces. Removed extra refactor done in #249 that merges the interfaces as that proved to be a challenging API (un-yak-shave 🙅 🐃)

What changed

Versioning

  • Breaking protocol change
  • Breaking ts/js API change

@masad-frost masad-frost requested a review from a team as a code owner August 1, 2024 05:13
@masad-frost masad-frost requested review from jackyzha0 and removed request for a team August 1, 2024 05:13
});
resReader.onClose(() => {
>();
const closeReadable = () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

not a fan of this, but will be better once i move it to "proc stream" to its own class

#127 (comment)

@masad-frost
Copy link
Member Author

I'll be merging this since it's a simple switch-aroo, review at your own pace. It doesn't address any of the comments on the base PR, so there will be other follow ups. I'll also rename "reader" and "writer" in a separate PR.

@masad-frost masad-frost merged commit bab2aa8 into protocolv2 Aug 1, 2024
4 checks passed
@masad-frost masad-frost deleted the fm-use-readable-writable branch August 1, 2024 05:16
masad-frost added a commit that referenced this pull request Aug 1, 2024
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