Recently I discovered async library and wanted to try it. The information provided for getting started is quite simple. So I decided to try an example. I tried it, the call reaches the iterator function but never reaches the callback. Could someone advise?
var async = require('async')
// My simple iterator
function foo(item){
console.log('foo');
return item;
}
// And this is my simple try out
async.mapLimit(inputData,100,foo,function(err, result){
console.log(err, result, 'Finished');
});