Skip to content

Instantly share code, notes, and snippets.

@Raynos Raynos/wut.js
Created Aug 4, 2012

What would you like to do?
var pair = renderRoom(roomDiv, roomName, userName)
, write = pair[0]
, read = pair[1]
, duplex = es.duplex(write, read)
//write.pipe(roomStream).pipe(read) WRITE/READ WORKS
duplex.pipe(roomStream).pipe(duplex) // DUPLEX DOES NOTHING >:(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.