Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ideas: use .createStream() at both ends. #13

Open
dominictarr opened this Issue Oct 26, 2012 · 2 comments

Comments

Projects
None yet
3 participants
Owner

dominictarr commented Oct 26, 2012

I've been finding my self building symmetrical systems recently, where either end may initiate a connection, and the way that mux-demux expects one end to wait for a connection and the other to create the connection to be arkward.

I want to beable to do createStream({id: whatever}) from both ends and get a stream that is connected.

This would basically mean being able to override the generated ID, so that you can choose the ID of the stream.

and also, i think, ignoring the error where you recieve a CreateStream message, when you already have that stream...

Contributor

juliangruber commented Oct 26, 2012

That would be way more intuitive. Order shouldn't matter.

Contributor

Raynos commented Nov 15, 2012

+1 for this.

But still have the old interface as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment