Irina Glushko 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
..
dist 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
internal 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
CHANGELOG.md 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
LICENSE 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
README.md 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
all.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
allLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
allSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
any.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
anyLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
anySeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
apply.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
applyEach.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
applyEachSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
asyncify.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
auto.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
autoInject.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
bower.json 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
cargo.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
compose.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
concat.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
concatLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
concatSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
constant.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
detect.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
detectLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
detectSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
dir.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
doDuring.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
doUntil.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
doWhilst.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
during.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
each.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
eachLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
eachOf.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
eachOfLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
eachOfSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
eachSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
ensureAsync.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
every.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
everyLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
everySeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
filter.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
filterLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
filterSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
find.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
findLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
findSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
foldl.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
foldr.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
forEach.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
forEachLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
forEachOf.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
forEachOfLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
forEachOfSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
forEachSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
forever.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
groupBy.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
groupByLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
groupBySeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
index.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
inject.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
log.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
map.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
mapLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
mapSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
mapValues.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
mapValuesLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
mapValuesSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
memoize.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
nextTick.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
package.json 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
parallel.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
parallelLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
priorityQueue.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
queue.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
race.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
reduce.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
reduceRight.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
reflect.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
reflectAll.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
reject.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
rejectLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
rejectSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
retry.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
retryable.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
select.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
selectLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
selectSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
seq.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
series.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
setImmediate.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
some.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
someLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
someSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
sortBy.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
timeout.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
times.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
timesLimit.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
timesSeries.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
transform.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
tryEach.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
unmemoize.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
until.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
waterfall.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
whilst.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos
wrapSync.js 2389e7160b HW1 done %!s(int64=3) %!d(string=hai) anos

README.md

Async Logo

Build Status via Travis CI NPM version Coverage Status libhive - Open source examples jsDelivr Hits

Async is a utility module which provides straight-forward, powerful functions for working with asynchronous JavaScript. Although originally designed for use with Node.js and installable via npm install --save async, it can also be used directly in the browser.

This version of the package is optimized for the Node.js environment. If you use Async with webpack, install async-es instead.

For Documentation, visit https://caolan.github.io/async/

For Async v1.5.x documentation, go HERE

// for use with Node-style callbacks...
var async = require("async");

var obj = {dev: "/dev.json", test: "/test.json", prod: "/prod.json"};
var configs = {};

async.forEachOf(obj, (value, key, callback) => {
    fs.readFile(__dirname + value, "utf8", (err, data) => {
        if (err) return callback(err);
        try {
            configs[key] = JSON.parse(data);
        } catch (e) {
            return callback(e);
        }
        callback();
    });
}, err => {
    if (err) console.error(err.message);
    // configs is now a map of JSON data
    doSomethingWith(configs);
});
var async = require("async");

// ...or ES2017 async functions
async.mapLimit(urls, 5, async function(url) {
    const response = await fetch(url)
    return response.body
}, (err, results) => {
    if (err) throw err
    // results is now an array of the response bodies
    console.log(results)
})