1. 2
    Simplify Asynchronous Callback Functions using async/await
    1m 48s

Simplify Asynchronous Callback Functions using async/await

Share this video with your friends

Send Tweet

Learn how to write a promise based delay function and then use it in async await to see how much it simplifies code over setTimeout.

Lets say you want to call a function after 1s, 2s, 3s. You can use setTimeout, or you can wrap it up into a simple delay function that works with async/await

wangshijun
~ 6 years ago

Hi,Basarat Ali Syed

What is your demo extension used in the video?

Awesome course by the way! thanks!