-
Notifications
You must be signed in to change notification settings - Fork 459
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
Remove Stream methods from Connection
interface
#1855
Comments
remove (add|remove)Stream from connection interface Related: libp2p#1855
I'm going to look a bit closer but seems like this requires moving the functionality of what is currently (add|remove)Stream and putting that on the muxer interface? |
There wouldn't be any use for adding those methods to the stream muxer interface since we already have the newStream and close methods so these methods just need to be removed from the connection interface. @mmsaki actually began work on this on #1829 but I am not sure what the status of that is now. Perhaps they can provide an update. |
remove (add|remove)Stream from connection interface Related: libp2p#1855 expect .addStream ts error
remove (add|remove)Stream from connection interface Related: libp2p#1855 expect .addStream ts error handle (add|remove)Stream usage
remove (add|remove)Stream from connection interface Related: libp2p#1855 comment out .addStream test usage handle (add|remove)Stream usage
Following up from the discussion here the muxers should be ultimately responsible for managing streams as opposed to the connections themselves
The text was updated successfully, but these errors were encountered: