05 Convert async call into synchronous call using await | Promise Advanced JS Simplified

preview_player
Показать описание
Convert async call into synchronous call using await | Promise Advanced JS Simplified
@ApplyIT2021 #asyncawait #javascript #advancejavascript @WebDevSimplified
This video demonstrates how to convert an async call into synchronous call using await keyword. It also explains how await keyword works internally. Generally, when we have an API call, we perform it in asynchronous manner; however, in some situation, we need to make API call in a synchronous manner. This video also demonstrates difference between asynchronous and synchronous calls.

This video answers many questions related to reading promise:
What are async and await keywords in JavaScript
Async/Await in JavaScript
What is the use of await keyword
What is the user of async keyword
How to Use Async/Await in JavaScript
Understanding async/await in JavaScript
JavaScript Async/Await
How use of await converts async into sync call

Watch previous videos
2. Understand What is Promise in Details
3. All ways to create promise
4. Use then and catch to get result of async operation

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

The await is very useful when we want to call APIs, one after another or we want to make API call as synchronous or blocking.

ApplyIT