/node-observable

Learning to write c++ node modules

Primary LanguagePythonOtherNOASSERTION

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);