event-drive

1.1.2 • Public • Published

event-drive

Build status

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    4
  • 1.1.1
    0
  • 1.1.0
    1
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i event-drive

Weekly Downloads

3

Version

1.1.2

License

none

Last publish

Collaborators

  • ystskm