Skip to content

javanile-backup/jazz.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Comparisone with async/await

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published