Created
January 5, 2021 11:47
-
-
Save zlatkov/0a3808601b770d9fcb28ef179b5132a7 to your computer and use it in GitHub Desktop.
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
function asyncFoo(x, callback) { | |
// Some async code... | |
} | |
asyncFoo(‘testParam’, (err, result) => { | |
If (err) { | |
// Handle error. | |
} | |
// Do some other work. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment