jazz.js

0.0.4 • Public • Published

Jazz.js

Let's stop with the false promises. Listen ''Jazz.js''

How script works

Jazz script enable you to run sequential

const jj = require('jazz.js');

// run sequential task chained
jj.script([
  // first task
  function(next) {
    // at end of this process 'next' point to second task and run it 
    callAsyncProcess1(next);
  },
  // second task
  function(next) {
    // at end of this process 'next' point to thirt task and run it 
    callAsyncProcess2(next);
  },
  // thirt task
  function(next) {
    // at end of this process 'next' point to (if have) 
    callAsyncProcess3(next);
  },
]);

Online examples

A short list of run sequential script:

Readme

Keywords

none

Package Sidebar

Install

npm i jazz.js

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • francescobianco