Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
do a function n times
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
ncallbacks.js
package.json

README.md

nCallbacks

function that executes n times

This is a stupid flow control library. Here's how you can use it.

var end = nCallbacks(3, function (err, whatever) {
    console.log('done now');
});

firstAsynchronousThing(end);
secondAsynchronousThing(end);
thirdAsynchronousThing(end);

LICENSE

I don't care

Something went wrong with that request. Please try again.