Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura
christian 4571a14169 android fix 3 gadus atpakaļ
..
dist android fix 3 gadus atpakaļ
internal android fix 3 gadus atpakaļ
CHANGELOG.md android fix 3 gadus atpakaļ
LICENSE android fix 3 gadus atpakaļ
README.md android fix 3 gadus atpakaļ
all.js android fix 3 gadus atpakaļ
allLimit.js android fix 3 gadus atpakaļ
allSeries.js android fix 3 gadus atpakaļ
any.js android fix 3 gadus atpakaļ
anyLimit.js android fix 3 gadus atpakaļ
anySeries.js android fix 3 gadus atpakaļ
apply.js android fix 3 gadus atpakaļ
applyEach.js android fix 3 gadus atpakaļ
applyEachSeries.js android fix 3 gadus atpakaļ
asyncify.js android fix 3 gadus atpakaļ
auto.js android fix 3 gadus atpakaļ
autoInject.js android fix 3 gadus atpakaļ
bower.json android fix 3 gadus atpakaļ
cargo.js android fix 3 gadus atpakaļ
compose.js android fix 3 gadus atpakaļ
concat.js android fix 3 gadus atpakaļ
concatLimit.js android fix 3 gadus atpakaļ
concatSeries.js android fix 3 gadus atpakaļ
constant.js android fix 3 gadus atpakaļ
detect.js android fix 3 gadus atpakaļ
detectLimit.js android fix 3 gadus atpakaļ
detectSeries.js android fix 3 gadus atpakaļ
dir.js android fix 3 gadus atpakaļ
doDuring.js android fix 3 gadus atpakaļ
doUntil.js android fix 3 gadus atpakaļ
doWhilst.js android fix 3 gadus atpakaļ
during.js android fix 3 gadus atpakaļ
each.js android fix 3 gadus atpakaļ
eachLimit.js android fix 3 gadus atpakaļ
eachOf.js android fix 3 gadus atpakaļ
eachOfLimit.js android fix 3 gadus atpakaļ
eachOfSeries.js android fix 3 gadus atpakaļ
eachSeries.js android fix 3 gadus atpakaļ
ensureAsync.js android fix 3 gadus atpakaļ
every.js android fix 3 gadus atpakaļ
everyLimit.js android fix 3 gadus atpakaļ
everySeries.js android fix 3 gadus atpakaļ
filter.js android fix 3 gadus atpakaļ
filterLimit.js android fix 3 gadus atpakaļ
filterSeries.js android fix 3 gadus atpakaļ
find.js android fix 3 gadus atpakaļ
findLimit.js android fix 3 gadus atpakaļ
findSeries.js android fix 3 gadus atpakaļ
foldl.js android fix 3 gadus atpakaļ
foldr.js android fix 3 gadus atpakaļ
forEach.js android fix 3 gadus atpakaļ
forEachLimit.js android fix 3 gadus atpakaļ
forEachOf.js android fix 3 gadus atpakaļ
forEachOfLimit.js android fix 3 gadus atpakaļ
forEachOfSeries.js android fix 3 gadus atpakaļ
forEachSeries.js android fix 3 gadus atpakaļ
forever.js android fix 3 gadus atpakaļ
groupBy.js android fix 3 gadus atpakaļ
groupByLimit.js android fix 3 gadus atpakaļ
groupBySeries.js android fix 3 gadus atpakaļ
index.js android fix 3 gadus atpakaļ
inject.js android fix 3 gadus atpakaļ
log.js android fix 3 gadus atpakaļ
map.js android fix 3 gadus atpakaļ
mapLimit.js android fix 3 gadus atpakaļ
mapSeries.js android fix 3 gadus atpakaļ
mapValues.js android fix 3 gadus atpakaļ
mapValuesLimit.js android fix 3 gadus atpakaļ
mapValuesSeries.js android fix 3 gadus atpakaļ
memoize.js android fix 3 gadus atpakaļ
nextTick.js android fix 3 gadus atpakaļ
package.json android fix 3 gadus atpakaļ
parallel.js android fix 3 gadus atpakaļ
parallelLimit.js android fix 3 gadus atpakaļ
priorityQueue.js android fix 3 gadus atpakaļ
queue.js android fix 3 gadus atpakaļ
race.js android fix 3 gadus atpakaļ
reduce.js android fix 3 gadus atpakaļ
reduceRight.js android fix 3 gadus atpakaļ
reflect.js android fix 3 gadus atpakaļ
reflectAll.js android fix 3 gadus atpakaļ
reject.js android fix 3 gadus atpakaļ
rejectLimit.js android fix 3 gadus atpakaļ
rejectSeries.js android fix 3 gadus atpakaļ
retry.js android fix 3 gadus atpakaļ
retryable.js android fix 3 gadus atpakaļ
select.js android fix 3 gadus atpakaļ
selectLimit.js android fix 3 gadus atpakaļ
selectSeries.js android fix 3 gadus atpakaļ
seq.js android fix 3 gadus atpakaļ
series.js android fix 3 gadus atpakaļ
setImmediate.js android fix 3 gadus atpakaļ
some.js android fix 3 gadus atpakaļ
someLimit.js android fix 3 gadus atpakaļ
someSeries.js android fix 3 gadus atpakaļ
sortBy.js android fix 3 gadus atpakaļ
timeout.js android fix 3 gadus atpakaļ
times.js android fix 3 gadus atpakaļ
timesLimit.js android fix 3 gadus atpakaļ
timesSeries.js android fix 3 gadus atpakaļ
transform.js android fix 3 gadus atpakaļ
tryEach.js android fix 3 gadus atpakaļ
unmemoize.js android fix 3 gadus atpakaļ
until.js android fix 3 gadus atpakaļ
waterfall.js android fix 3 gadus atpakaļ
whilst.js android fix 3 gadus atpakaļ
wrapSync.js android fix 3 gadus atpakaļ

README.md

Async Logo

Build Status via Travis CI NPM version Coverage Status 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)
})