UI for Zipcoin Blue
Tennessee Gibbs 0304752480 added pages to master il y a 6 ans
..
dist added pages to master il y a 6 ans
internal added pages to master il y a 6 ans
CHANGELOG.md added pages to master il y a 6 ans
LICENSE added pages to master il y a 6 ans
README.md added pages to master il y a 6 ans
all.js added pages to master il y a 6 ans
allLimit.js added pages to master il y a 6 ans
allSeries.js added pages to master il y a 6 ans
any.js added pages to master il y a 6 ans
anyLimit.js added pages to master il y a 6 ans
anySeries.js added pages to master il y a 6 ans
apply.js added pages to master il y a 6 ans
applyEach.js added pages to master il y a 6 ans
applyEachSeries.js added pages to master il y a 6 ans
asyncify.js added pages to master il y a 6 ans
auto.js added pages to master il y a 6 ans
autoInject.js added pages to master il y a 6 ans
bower.json added pages to master il y a 6 ans
cargo.js added pages to master il y a 6 ans
compose.js added pages to master il y a 6 ans
concat.js added pages to master il y a 6 ans
concatLimit.js added pages to master il y a 6 ans
concatSeries.js added pages to master il y a 6 ans
constant.js added pages to master il y a 6 ans
detect.js added pages to master il y a 6 ans
detectLimit.js added pages to master il y a 6 ans
detectSeries.js added pages to master il y a 6 ans
dir.js added pages to master il y a 6 ans
doDuring.js added pages to master il y a 6 ans
doUntil.js added pages to master il y a 6 ans
doWhilst.js added pages to master il y a 6 ans
during.js added pages to master il y a 6 ans
each.js added pages to master il y a 6 ans
eachLimit.js added pages to master il y a 6 ans
eachOf.js added pages to master il y a 6 ans
eachOfLimit.js added pages to master il y a 6 ans
eachOfSeries.js added pages to master il y a 6 ans
eachSeries.js added pages to master il y a 6 ans
ensureAsync.js added pages to master il y a 6 ans
every.js added pages to master il y a 6 ans
everyLimit.js added pages to master il y a 6 ans
everySeries.js added pages to master il y a 6 ans
filter.js added pages to master il y a 6 ans
filterLimit.js added pages to master il y a 6 ans
filterSeries.js added pages to master il y a 6 ans
find.js added pages to master il y a 6 ans
findLimit.js added pages to master il y a 6 ans
findSeries.js added pages to master il y a 6 ans
foldl.js added pages to master il y a 6 ans
foldr.js added pages to master il y a 6 ans
forEach.js added pages to master il y a 6 ans
forEachLimit.js added pages to master il y a 6 ans
forEachOf.js added pages to master il y a 6 ans
forEachOfLimit.js added pages to master il y a 6 ans
forEachOfSeries.js added pages to master il y a 6 ans
forEachSeries.js added pages to master il y a 6 ans
forever.js added pages to master il y a 6 ans
groupBy.js added pages to master il y a 6 ans
groupByLimit.js added pages to master il y a 6 ans
groupBySeries.js added pages to master il y a 6 ans
index.js added pages to master il y a 6 ans
inject.js added pages to master il y a 6 ans
log.js added pages to master il y a 6 ans
map.js added pages to master il y a 6 ans
mapLimit.js added pages to master il y a 6 ans
mapSeries.js added pages to master il y a 6 ans
mapValues.js added pages to master il y a 6 ans
mapValuesLimit.js added pages to master il y a 6 ans
mapValuesSeries.js added pages to master il y a 6 ans
memoize.js added pages to master il y a 6 ans
nextTick.js added pages to master il y a 6 ans
package.json added pages to master il y a 6 ans
parallel.js added pages to master il y a 6 ans
parallelLimit.js added pages to master il y a 6 ans
priorityQueue.js added pages to master il y a 6 ans
queue.js added pages to master il y a 6 ans
race.js added pages to master il y a 6 ans
reduce.js added pages to master il y a 6 ans
reduceRight.js added pages to master il y a 6 ans
reflect.js added pages to master il y a 6 ans
reflectAll.js added pages to master il y a 6 ans
reject.js added pages to master il y a 6 ans
rejectLimit.js added pages to master il y a 6 ans
rejectSeries.js added pages to master il y a 6 ans
retry.js added pages to master il y a 6 ans
retryable.js added pages to master il y a 6 ans
select.js added pages to master il y a 6 ans
selectLimit.js added pages to master il y a 6 ans
selectSeries.js added pages to master il y a 6 ans
seq.js added pages to master il y a 6 ans
series.js added pages to master il y a 6 ans
setImmediate.js added pages to master il y a 6 ans
some.js added pages to master il y a 6 ans
someLimit.js added pages to master il y a 6 ans
someSeries.js added pages to master il y a 6 ans
sortBy.js added pages to master il y a 6 ans
timeout.js added pages to master il y a 6 ans
times.js added pages to master il y a 6 ans
timesLimit.js added pages to master il y a 6 ans
timesSeries.js added pages to master il y a 6 ans
transform.js added pages to master il y a 6 ans
tryEach.js added pages to master il y a 6 ans
unmemoize.js added pages to master il y a 6 ans
until.js added pages to master il y a 6 ans
waterfall.js added pages to master il y a 6 ans
whilst.js added pages to master il y a 6 ans
wrapSync.js added pages to master il y a 6 ans

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