Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Async equivalent of the synchronous code
asyncMeth1()
.then(asyncMethod2)
.then(asyncMethod3)
.then(finalResult => console.log("I DID IT - "+finalResult))
.catch(failCall);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment