callasync

Group and call functions asynchronously

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
callasync
001.0.26 years ago6 years agoMinified + gzip package size for callasync in KB

Readme

callasync
npm version Build Status Coverage Status
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

License

MIT