-
-
Save Raynos/04c80d5ef47274961fc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function socketIONoSuckstream(uri, event) { | |
return from(function (push, end) { | |
var socket = io.connect(uri) | |
socket.on(event, push) | |
// does socket.io even have a close / end?? | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment