classical-eventemitter
v1.0.0
Published
A wrapper for the NodeJS event manager using the classical OO style.
Downloads
2
Readme
Classical
A wrapper for the NodeJS event manager using the classical OO style.
Documentation
Extending the Event Manager
var Server = EventManager.extend(function() {});
Usage
var foo = new Server;
foo.on('data', function(data) {
console.log(data);
});
foo.emit('data', 'Hello, World.');