0.3.0 • Published 8 years ago

fray.observable v0.3.0

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

fray.observable

Custom observable events

Build Status Test Coverage

Usage

Events are deferred ensuring an asynchronous execution

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

var subscribe = observable(function (publish) {
  publish('foo', 'hello!');
});


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

Install

npm install fray.observable

Contributing

PRs are welcome!

Unit tests

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

License

MIT

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago