node package manager

rundfunk

Rundfunk is zero-conf distributed event emitter

Rundfunk

Rundfunk is zero-conf distributed pubsub build using polo and http It's available through npm:

npm install rundfunk

Usage

var rundfunk = require('rundfunk');
var funk = rundfunk();
 
funk.subscribe('hello', function(message) {
console.log(message);
});
 
// wait a bit and then publish something 
 
setTimeout(function() {
funk.broadcast('hello', {hello:'world'});
}, 100);

That's it! Try running the above example in a couple of processes and you should see that it's freakin' distributed!

License

MIT