rx-intent

0.3.6 • Public • Published

Build Status Coverage Status NPM version Downloads

Rx Intent

A more convenient way to use Rx Subject

usage

var intent = new Intent('hello');
 
// intent.hellos is an instance of Rx.Observable
intent.hellos.subscribe(function (name) {
    console.log('hello %s', name);
})
 
intent.hello('world');
> hello world

Package Sidebar

Install

npm i rx-intent

Weekly Downloads

1

Version

0.3.6

License

ISC

Last publish

Collaborators

  • huang47