0.6.3 • Published 8 years ago

fray.emitter v0.6.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

fray.emitter

Event emitter

Build Status Test Coverage Issue Count

Usage

Events are deferred ensuring an asynchronous execution

var emitter = require('fray.emitter');

var channel = emitter();

channel.emit('foo', 'hello!');

channel.on('foo', function (msg) {
  console.log(msg); // 'hello!'
});

Install

npm install fray.emitter

Contributing

PRs are welcome!

Unit tests

git clone https://github.com/frayjs/emitter
cd events
npm install
npm test

License

MIT

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago