FanFarm / system / V3fanfarm-ubuntu-local / V3fanfarm-frontend / node_modules / async /
@Fanfarm User Fanfarm User authored on 12 Sep
..
dist Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
internal Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
CHANGELOG.md Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
LICENSE Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
README.md Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
all.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
allLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
allSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
any.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
anyLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
anySeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
apply.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
applyEach.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
applyEachSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
asyncify.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
auto.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
autoInject.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
bower.json Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
cargo.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
cargoQueue.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
compose.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
concat.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
concatLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
concatSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
constant.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
detect.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
detectLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
detectSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
dir.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
doDuring.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
doUntil.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
doWhilst.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
during.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
each.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
eachLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
eachOf.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
eachOfLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
eachOfSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
eachSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
ensureAsync.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
every.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
everyLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
everySeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
filter.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
filterLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
filterSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
find.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
findLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
findSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
flatMap.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
flatMapLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
flatMapSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
foldl.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
foldr.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
forEach.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
forEachLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
forEachOf.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
forEachOfLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
forEachOfSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
forEachSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
forever.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
groupBy.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
groupByLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
groupBySeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
index.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
inject.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
log.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
map.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
mapLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
mapSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
mapValues.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
mapValuesLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
mapValuesSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
memoize.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
nextTick.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
package.json Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
parallel.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
parallelLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
priorityQueue.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
queue.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
race.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
reduce.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
reduceRight.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
reflect.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
reflectAll.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
reject.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
rejectLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
rejectSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
retry.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
retryable.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
select.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
selectLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
selectSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
seq.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
series.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
setImmediate.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
some.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
someLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
someSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
sortBy.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
timeout.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
times.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
timesLimit.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
timesSeries.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
transform.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
tryEach.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
unmemoize.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
until.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
waterfall.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
whilst.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
wrapSync.js Fix API server issues -Disable Rack::Protection and remove Logger path error 7 months ago
README.md

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