GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — angular/node_modules/async at master · rkshgupta/angular

Expand file tree

/

async

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

async

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

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

README.md

Async Logo

Build Status via Travis CI NPM version Coverage Status Join the chat at https://gitter.im/caolan/async 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.

For Documentation, visit https://caolan.github.io/async/

For Async v1.5.x documentation, go HERE

// for use with Node-style callbacks...
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);
});
// ...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)
})
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.