libp2p / js-libp2p-interfaces

Contains test suites and interfaces you can use to implement the various components of js libp2p.
Other
75 stars 28 forks source link

feat: add abstract stream class #402

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

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.

github-actions[bot] commented 1 year ago

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

The release is available on:

Your semantic-release bot :package::rocket: