0.0.3 • Published 10 years ago

lll v0.0.3

Weekly downloads
655
License
-
Repository
github
Last release
10 years ago

lll (parallel)

A simple implementation of async.parallel

Install

$ npm install lll

Usage

var parallel = require('lll');
parallel([
  function (cb) {
    setTimeout(function () {
      cb(null, 'one');
    });
  },
  function (cb) {
    setTimeout(function () {
      cb(null, 'two');
    });
  }
], function (err, result) {
  console.log(result)
  // => ['one', 'two']
})

Test

$ npm test

License

MIT