async-for-loop
v1.0.0
Published
Async for (var i = 0; i < iterations; i++) loop
Downloads
3
Readme
Async for loop
var asyncLoop = require('async-for-loop');
asyncLoop(10, function(index, next) {
console.log(index);
setTimeout(next, 1000);
}, function() {
console.log('Done!');
});