ncallbacks
function that expires after n calls
Last updated 14 years ago by alunny .
Repository · Original npm · Tarball · package.json
$ npm install ncallbacks 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (14 years ago)

2 Versions

  • 1.1.0                                ...           14 years ago
  • 1.0.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 9
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 0
Last Month 3
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE