callasync
Essential utility function that groups and calls functions asynchronously on the same tick respecting order of invocation.
Installation
$ npm install --save callasync
API
var callasync = require('callasync');
// both functions `foo()` and `bar()` will be
// called async but on a same tick
callasync(function foo() {
// function body
});
callasync(function bar() {
// function body
});
Running tests
$ npm install
$ npm test