Last active
May 31, 2017 23:29
-
-
Save veyselsahin/a1c2172410054fe104b5734f3ec7c855 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
async.series({ | |
one: function(callback){ | |
setTimeout(function(){ | |
callback(null, 1); | |
}, 200); | |
}, | |
two: function(callback){ | |
setTimeout(function(){ | |
callback(null, 2); | |
}, 100); | |
} | |
}, | |
function(err, results) { | |
//sonuc {one: 1, two: 2} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment