Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

feat: add abstract stream class #402

Merged
merged 1 commit into from
May 16, 2023
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented May 16, 2023

Adds an extendable stream class that implements all the logic for closing/half closing streams in a consistent way.

Largely extracted from @libp2p/mplex and working with @libp2p/webrtc.

Adds an extendable stream class that implements all the logic for
closing/half closing streams in a consistent way.
@achingbrain achingbrain requested a review from maschad May 16, 2023 16:08
@maschad maschad requested a review from wemeetagain May 16, 2023 16:16
Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

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

Looks good, just left some comments.

@maschad maschad merged commit 920aa9e into master May 16, 2023
@maschad maschad deleted the feat/add-abstract-stream-class branch May 16, 2023 18:29
github-actions bot pushed a commit that referenced this pull request May 16, 2023
@github-actions
Copy link

🎉 This PR is included in version @libp2p/interface-stream-muxer-v4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants