lll

0.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i lll

Weekly Downloads

2,480

Version

0.0.3

License

none

Last publish

Collaborators

  • madhums