async.eachSeries([1,2,3], async(item, callback) => { //await delay(6000); console.log(item); callback(null); }, function(done) { if(done == null){ } }); This happens when we add async with iterator, but we need async to call a await.
async.eachSeries([1,2,3], async(item, callback) => { //await delay(6000); console.log(item); callback(null); }, function(done) { if(done == null){ } }); This happens when we add async with iterator, but we need async to call a await.