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

·

189 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. 

16

189 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