Kargi-Sitesi/node_modules/async
2024-11-03 21:30:09 -05:00
..
dist Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
internal Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
all.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
allLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
allSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
any.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
anyLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
anySeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
apply.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
applyEach.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
applyEachSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
asyncify.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
auto.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
autoInject.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
bower.json Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
cargo.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
cargoQueue.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
CHANGELOG.md Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
compose.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
concat.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
concatLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
concatSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
constant.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
detect.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
detectLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
detectSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
dir.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
doDuring.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
doUntil.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
doWhilst.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
during.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
each.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
eachLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
eachOf.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
eachOfLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
eachOfSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
eachSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
ensureAsync.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
every.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
everyLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
everySeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
filter.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
filterLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
filterSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
find.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
findLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
findSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
flatMap.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
flatMapLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
flatMapSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
foldl.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
foldr.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
forEach.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
forEachLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
forEachOf.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
forEachOfLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
forEachOfSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
forEachSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
forever.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
groupBy.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
groupByLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
groupBySeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
index.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
inject.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
LICENSE Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
log.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
map.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
mapLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
mapSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
mapValues.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
mapValuesLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
mapValuesSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
memoize.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
nextTick.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
package.json Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
parallel.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
parallelLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
priorityQueue.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
queue.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
race.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
README.md Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
reduce.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
reduceRight.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
reflect.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
reflectAll.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
reject.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
rejectLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
rejectSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
retry.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
retryable.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
select.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
selectLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
selectSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
seq.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
series.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
setImmediate.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
some.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
someLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
someSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
sortBy.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
timeout.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
times.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
timesLimit.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
timesSeries.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
transform.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
tryEach.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
unmemoize.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
until.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
waterfall.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
whilst.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
wrapSync.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00

Async Logo

Github Actions CI status NPM version Coverage Status Join the chat at https://gitter.im/caolan/async 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. An 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)
})