prc b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
..
dist b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
internal b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
CHANGELOG.md b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
LICENSE b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
README.md b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
all.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
allLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
allSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
any.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
anyLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
anySeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
apply.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
applyEach.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
applyEachSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
asyncify.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
auto.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
autoInject.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
bower.json b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
cargo.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
cargoQueue.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
compose.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
concat.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
concatLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
concatSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
constant.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
detect.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
detectLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
detectSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
dir.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
doDuring.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
doUntil.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
doWhilst.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
during.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
each.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
eachLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
eachOf.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
eachOfLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
eachOfSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
eachSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
ensureAsync.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
every.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
everyLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
everySeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
filter.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
filterLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
filterSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
find.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
findLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
findSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
flatMap.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
flatMapLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
flatMapSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
foldl.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
foldr.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
forEach.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
forEachLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
forEachOf.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
forEachOfLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
forEachOfSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
forEachSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
forever.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
groupBy.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
groupByLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
groupBySeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
index.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
inject.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
log.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
map.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
mapLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
mapSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
mapValues.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
mapValuesLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
mapValuesSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
memoize.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
nextTick.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
package.json b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
parallel.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
parallelLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
priorityQueue.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
queue.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
race.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
reduce.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
reduceRight.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
reflect.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
reflectAll.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
reject.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
rejectLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
rejectSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
retry.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
retryable.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
select.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
selectLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
selectSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
seq.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
series.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
setImmediate.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
some.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
someLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
someSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
sortBy.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
timeout.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
times.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
timesLimit.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
timesSeries.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
transform.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
tryEach.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
unmemoize.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
until.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
waterfall.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
whilst.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr
wrapSync.js b6c02717e6 Upload complete no-internet building environment. vor 1 Jahr

README.md

Async Logo

Github Actions CI status NPM version Coverage Status 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 i async, it can also be used directly in the browser. A ESM/MJS version is included in the main async package that should automatically be used with compatible bundlers such as Webpack and Rollup.

A pure ESM version of Async is available as async-es.

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)
})