npm.io
1.0.2 • Published 9 years ago

callasync

Licence
MIT
Version
1.0.2
Deps
0
Vulns
0
Weekly
0

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

Keywords