У нас вы можете посмотреть бесплатно Promise & async / await или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
#javascript #promise #asynchronous This video explains the concept of Promise, async, and await for writing asynchronous code in JavaScript. The first code shown involves three functions that perform asynchronous tasks, each of which retrieves data from a remote source, processes it, and saves the result. However, the code is complex and lacks readability. To solve this problem, the concept of Promise is introduced and the code is organized using method chaining through it. Still, it doesn't completely solve the complexity and that is where async and await are introduced. With these, it's possible to write asynchronous code in a way that is similar to synchronous code. This makes writing asynchronous code more convenient, but since it's hard to understand, it warns you that review and practice are necessary before actual use.