Javascript Async/Await in 10 Minutes

preview_player
Показать описание
What is Async/Await?
There’s a special syntax to work with Promises in a more comfortable fashion using async/await. It’s easy to understand and use. The 'async function f() { . . . }' declaration defines an asynchronous function. Asynchronous functions operate in a separate order than the rest of the code and allow the use of the 'await' keyword inside of them. The 'await' keyword can be used on a function that returns a Promise. Use 'await' in order to wait for that function to either resolve or reject before advancing to the next available line.

🙏🏾 Here's my video on Promises

📕 Expand your JavaScript knowledge by downloading my latest e-books!

🤖 Join me on Discord

👕 DevSage Merchandise
Рекомендации по теме
Комментарии
Автор

Can't thank you enough for creating such an awesome content

marvhan
Автор

Best explanation I’ve seen. Brilliant ! Thank you !

Speeds
Автор

This was an actual sensible video on async/await and promises

siddhantfursule
Автор

Awesome tutorial. Keep them coming.. Thank you so much!

PhilanJames