do a function n times
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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