simple-flux-dispatcher

1.0.12 • Public • Published

#simple-flux-dispatcher

simple dispatcher for flux. Works like described in the flux documentation, but simpler, and with easy to understand error messages

##install

npm install --save-dev simple-flux-dispatcher

usage

  var simpleDispatcher = require('simple-flux-dispatcher');
  var dispatcher = simpleDispatcher();


  var token = dispatcher.register(function);
  dispatcher.unregister(function);
  dispatcher.dispatch(action);
  dispatcher.waitfor(token);

/simple-flux-dispatcher/

    Package Sidebar

    Install

    npm i simple-flux-dispatcher

    Weekly Downloads

    13

    Version

    1.0.12

    License

    ISC

    Last publish

    Collaborators

    • oolon