Загрузка страницы

Converting callbacks to promises | Handle Promises using async/wait | node js tutorial

This video is very quick and short. In this video you are going to learn how to convert callback into promises and then How you can Handle that promises using async/await
we can handle promises in two different way
1. using .then().catch()
2. using async/ await

new Promises constructor takes callback function as a argument with two function parameter (resolve, reject). Call reject function with error argument and call resolve with result as an argument

Learn How to Build REST-APIs using node.js, express and MySQL with jsonwebtoken authentication
https://www.youtube.com/playlist?list=PLtYTVIzWW8XEGCo-sAot0hgZH9Z9OSWvR

Видео Converting callbacks to promises | Handle Promises using async/wait | node js tutorial канала Technical Babaji
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
14 августа 2020 г. 19:03:22
00:05:19
Яндекс.Метрика