bacon socket io plugin

Here is the plugin for baconjs to support socket.io https://github.com/NikolaMandic/baconjs-socketio-plugin use it like this

<code>

var socket = io.connect(address);
var stream = socket.asEventStream(“news”);

stream.onValue(function(v){
console.log(v);
});

</code>

Leave a Comment