1.0.0 • Published 11 years ago
yapsl v1.0.0
Yet another fancy publish subscribe module, written in C++
npm install yapsl
var yapsl = require("yapsl");
var observable = new yapsl.Observable;
observable.subscribe("topic", function (args) {
console.log("arguments received", args);
}, this);
// It doesn't support more than one arg :(
observable.publish("topic", array);
1.0.0
11 years ago