Skip to content

Instantly share code, notes, and snippets.

@thejohnfreeman
Created January 7, 2019 04:18
Show Gist options
  • Select an option

  • Save thejohnfreeman/492ee0234714131fbd3bc21579d62b76 to your computer and use it in GitHub Desktop.

Select an option

Save thejohnfreeman/492ee0234714131fbd3bc21579d62b76 to your computer and use it in GitHub Desktop.
step1(function (error, result1) {
if (error) throw error
step2(result1, function (error, result2) {
if (error) throw error
step3(result2, function (error, result3) {
if (error) throw error
step4(result3, function (error, result4) {
if (error) throw error
console.log(result4)
})
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment