om/node_modules/async
2019-06-04 14:29:48 +02:00
..
dist node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
internal node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
all.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
allLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
allSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
any.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
anyLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
anySeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
apply.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
applyEach.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
applyEachSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
asyncify.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
auto.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
autoInject.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
bower.json database and ajax test added 2019-02-01 14:06:44 +01:00
cargo.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
CHANGELOG.md node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
compose.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
concat.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
concatLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
concatSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
constant.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
detect.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
detectLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
detectSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
dir.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
doDuring.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
doUntil.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
doWhilst.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
during.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
each.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
eachLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
eachOf.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
eachOfLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
eachOfSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
eachSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
ensureAsync.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
every.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
everyLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
everySeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
filter.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
filterLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
filterSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
find.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
findLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
findSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
foldl.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
foldr.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
forEach.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
forEachLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
forEachOf.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
forEachOfLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
forEachOfSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
forEachSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
forever.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
groupBy.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
groupByLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
groupBySeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
index.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
inject.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
LICENSE database and ajax test added 2019-02-01 14:06:44 +01:00
log.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
map.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
mapLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
mapSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
mapValues.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
mapValuesLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
mapValuesSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
memoize.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
nextTick.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
package.json node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
parallel.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
parallelLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
priorityQueue.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
queue.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
race.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
README.md database and ajax test added 2019-02-01 14:06:44 +01:00
reduce.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
reduceRight.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
reflect.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
reflectAll.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
reject.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
rejectLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
rejectSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
retry.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
retryable.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
select.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
selectLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
selectSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
seq.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
series.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
setImmediate.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
some.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
someLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
someSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
sortBy.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
timeout.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
times.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
timesLimit.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
timesSeries.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
transform.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
tryEach.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
unmemoize.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
until.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
waterfall.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
whilst.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00
wrapSync.js node_modules updated, buefy add to lib folder 2019-06-04 14:29:48 +02:00

Async Logo

Build Status via Travis CI NPM version Coverage Status Join the chat at https://gitter.im/caolan/async 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)
})