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

Async Logo

Build Status via Travis CI Build Status via Azure Pipelines 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. 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)
})