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

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