Created
April 6, 2016 11:45
-
-
Save shaikh-shahid/d234880bb1dbef2b1d831ae5488e91a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var async = require('async'); | |
var emails = ["[email protected]","[email protected]"]; | |
async.eachLimit(emails,1000,function(singleEmail,callback) { | |
// Emailer code | |
// singleEmail will be one value at a time. | |
},function(err,data) { | |
// Once all done, comes here. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment