6 Reasons Why JavaScript Async/Await Blows Promises Away (Tutorial) - Deepstash
6 Reasons Why JavaScript Async/Await Blows Promises Away (Tutorial)

6 Reasons Why JavaScript Async/Await Blows Promises Away (Tutorial)

Curated from: medium.com

Ideas, facts & insights covering these topics:

1 idea

Ā·

194 reads

9

Async/Await 101

Async/Await 101

For those who have never heard of this topic before, hereā€™s a quick introĀ 

  • Async/await is a new way to write asynchronous code. Previous alternatives for asynchronous code are callbacks and promises.Ā 
  • Async/await is actually just syntax sugar built on top of promises. It cannot be used with plain callbacks or node callbacks.Ā 
  • Async/await is, like promises, nonblocking.Ā 
  • Async/await makes asynchronous code look and behave a little more like synchronous code. This is where all its power lies.Ā 

17

194 reads

IDEAS CURATED BY

jeffrich

Chiropodist

Jeffrey Rich's ideas are part of this journey:

Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

ā€”

100+ Learning Journeys

ā€”

Access to 200,000+ ideas

ā€”

Access to the mobile app

ā€”

Unlimited idea saving

ā€”

ā€”

Unlimited history

ā€”

ā€”

Unlimited listening to ideas

ā€”

ā€”

Downloading & offline access

ā€”

ā€”

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates