Created
October 8, 2016 15:34
-
-
Save LCamel/cc047873d26aca74b30303d8d1f62222 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'); | |
(function () { | |
var tmp; | |
async.series( | |
[ | |
(cb) => { console.log("1"); tmp = "foo"; cb(null, "result1"); }, | |
(cb) => { console.log("2"); cb(null, tmp + " result2"); }, | |
], | |
(err, results) => { console.log("result: " + results); } | |
) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment