1.1.2 • Published 9 years ago
event-drive v1.1.2
event-drive
Support for creating event emitter with reactive callback.
Callback function is not required.
Install
Install with npm:
npm install event-drive
API - Queries
first argument should be a function
or an Array
of function(s)
first function of exec is called asynchronously
var emitter = require('event-drive')(exec, callback);
Then, you can event drive now. emitter.on( .. )
See more example test/basic.js and test/trigger.js