Created
June 27, 2014 07:14
-
-
Save leonguyen/6c22022b198073040f35 to your computer and use it in GitHub Desktop.
async.parallel
This file contains hidden or 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
| async.parallel([ | |
| //Step 1 | |
| function(cb){ | |
| //Code here | |
| cb(null); | |
| },//Step 2 | |
| function(cb){ | |
| //Code here | |
| cb(null); | |
| }, | |
| ], function(err,result){ | |
| console.error('[] parallel: ' + err); | |
| });//async.parallel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment