Created
August 8, 2014 17:52
-
-
Save reinaldorauch/b91eb8f585d6750f64d2 to your computer and use it in GitHub Desktop.
async callback
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
function doSomeStuff(cb) { | |
// Some Stuff | |
return cb(); | |
} | |
doSomeStuff(function onSomeStuffHandler() { | |
console.log('Some Stuff ended'); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment