Skip to content

Instantly share code, notes, and snippets.

@gisderdube
Created November 13, 2018 12:09
Show Gist options
  • Save gisderdube/672869693b4c69c87841f5b991336bed to your computer and use it in GitHub Desktop.
Save gisderdube/672869693b4c69c87841f5b991336bed to your computer and use it in GitHub Desktop.
myAsyncFunc(someInput, (err, result) => {
if(err) return console.error(err) // we will see later what to do with the error object.
console.log(result)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment