paint-brush
JavaScript: Promises and Why Async/Await Wins the Battleby@nickparsons
52,232 reads
52,232 reads

JavaScript: Promises and Why Async/Await Wins the Battle

by Nick Parsons5mJuly 26th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Asynchronous functions are a good and bad thing in JavaScript. The good side is that asynchronous functions are non-blocking and, therefore, are fast — especially in a Node.js context. The downside is that dealing with asynchronous functions can be cumbersome, as you sometimes have to wait for one function to complete in order to get its “callback” before proceeding to the next execution.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - JavaScript: Promises and Why Async/Await Wins the Battle
Nick Parsons HackerNoon profile picture
Nick Parsons

Nick Parsons

@nickparsons

Director of Developer Marketing @ GetStream.io

Learn More
LEARN MORE ABOUT @NICKPARSONS'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Nick Parsons HackerNoon profile picture
Nick Parsons@nickparsons
Director of Developer Marketing @ GetStream.io

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite