Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Senta Mandutz 3069d8b99a I do not know why this was not commited with the other stuff 5 years ago
..
dist database and ajax test added 5 years ago
internal database and ajax test added 5 years ago
CHANGELOG.md database and ajax test added 5 years ago
LICENSE database and ajax test added 5 years ago
README.md database and ajax test added 5 years ago
all.js database and ajax test added 5 years ago
allLimit.js database and ajax test added 5 years ago
allSeries.js database and ajax test added 5 years ago
any.js database and ajax test added 5 years ago
anyLimit.js database and ajax test added 5 years ago
anySeries.js database and ajax test added 5 years ago
apply.js database and ajax test added 5 years ago
applyEach.js database and ajax test added 5 years ago
applyEachSeries.js database and ajax test added 5 years ago
asyncify.js database and ajax test added 5 years ago
auto.js database and ajax test added 5 years ago
autoInject.js database and ajax test added 5 years ago
bower.json database and ajax test added 5 years ago
cargo.js database and ajax test added 5 years ago
compose.js database and ajax test added 5 years ago
concat.js database and ajax test added 5 years ago
concatLimit.js database and ajax test added 5 years ago
concatSeries.js database and ajax test added 5 years ago
constant.js database and ajax test added 5 years ago
detect.js database and ajax test added 5 years ago
detectLimit.js database and ajax test added 5 years ago
detectSeries.js database and ajax test added 5 years ago
dir.js database and ajax test added 5 years ago
doDuring.js database and ajax test added 5 years ago
doUntil.js database and ajax test added 5 years ago
doWhilst.js database and ajax test added 5 years ago
during.js database and ajax test added 5 years ago
each.js database and ajax test added 5 years ago
eachLimit.js database and ajax test added 5 years ago
eachOf.js database and ajax test added 5 years ago
eachOfLimit.js database and ajax test added 5 years ago
eachOfSeries.js database and ajax test added 5 years ago
eachSeries.js database and ajax test added 5 years ago
ensureAsync.js database and ajax test added 5 years ago
every.js database and ajax test added 5 years ago
everyLimit.js database and ajax test added 5 years ago
everySeries.js database and ajax test added 5 years ago
filter.js database and ajax test added 5 years ago
filterLimit.js database and ajax test added 5 years ago
filterSeries.js database and ajax test added 5 years ago
find.js database and ajax test added 5 years ago
findLimit.js database and ajax test added 5 years ago
findSeries.js database and ajax test added 5 years ago
foldl.js database and ajax test added 5 years ago
foldr.js database and ajax test added 5 years ago
forEach.js database and ajax test added 5 years ago
forEachLimit.js database and ajax test added 5 years ago
forEachOf.js database and ajax test added 5 years ago
forEachOfLimit.js database and ajax test added 5 years ago
forEachOfSeries.js database and ajax test added 5 years ago
forEachSeries.js database and ajax test added 5 years ago
forever.js database and ajax test added 5 years ago
groupBy.js database and ajax test added 5 years ago
groupByLimit.js database and ajax test added 5 years ago
groupBySeries.js database and ajax test added 5 years ago
index.js database and ajax test added 5 years ago
inject.js database and ajax test added 5 years ago
log.js database and ajax test added 5 years ago
map.js database and ajax test added 5 years ago
mapLimit.js I do not know why this was not commited with the other stuff 5 years ago
mapSeries.js database and ajax test added 5 years ago
mapValues.js database and ajax test added 5 years ago
mapValuesLimit.js database and ajax test added 5 years ago
mapValuesSeries.js database and ajax test added 5 years ago
memoize.js database and ajax test added 5 years ago
nextTick.js database and ajax test added 5 years ago
package.json database and ajax test added 5 years ago
parallel.js database and ajax test added 5 years ago
parallelLimit.js database and ajax test added 5 years ago
priorityQueue.js database and ajax test added 5 years ago
queue.js database and ajax test added 5 years ago
race.js database and ajax test added 5 years ago
reduce.js database and ajax test added 5 years ago
reduceRight.js database and ajax test added 5 years ago
reflect.js database and ajax test added 5 years ago
reflectAll.js database and ajax test added 5 years ago
reject.js database and ajax test added 5 years ago
rejectLimit.js database and ajax test added 5 years ago
rejectSeries.js database and ajax test added 5 years ago
retry.js database and ajax test added 5 years ago
retryable.js database and ajax test added 5 years ago
select.js database and ajax test added 5 years ago
selectLimit.js database and ajax test added 5 years ago
selectSeries.js database and ajax test added 5 years ago
seq.js database and ajax test added 5 years ago
series.js database and ajax test added 5 years ago
setImmediate.js database and ajax test added 5 years ago
some.js database and ajax test added 5 years ago
someLimit.js database and ajax test added 5 years ago
someSeries.js database and ajax test added 5 years ago
sortBy.js database and ajax test added 5 years ago
timeout.js database and ajax test added 5 years ago
times.js database and ajax test added 5 years ago
timesLimit.js database and ajax test added 5 years ago
timesSeries.js database and ajax test added 5 years ago
transform.js database and ajax test added 5 years ago
tryEach.js database and ajax test added 5 years ago
unmemoize.js database and ajax test added 5 years ago
until.js database and ajax test added 5 years ago
waterfall.js database and ajax test added 5 years ago
whilst.js database and ajax test added 5 years ago
wrapSync.js database and ajax test added 5 years ago

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