JavaScript Async Functions
Postado 2023-05-18 20:45:22
0
11KB
Async functions can contain zero or more await
expressions. Await expressions make promise-returning functions behave as though they're synchronous by suspending execution until the returned promise is fulfilled or rejected. The resolved value of the promise is treated as the return value of the await expression. Use of async
and await
enables the use of ordinary try
/ catch
blocks around asynchronous code.
Pesquisar
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
Гарри Поттер и Дары Смерти: Часть II. Harry Potter and the Deathly Hallows: Part 2. (2011)
В грандиозной последней главе битва между добрыми и злыми силами мира волшебников перерастает во...
Easy Bananas Foster Recipe !
Bananas Foster Recipe Easy IngredientsTo make this dessert you'll need:
salted butterbrown...
Dyslexia: Assessment tests
There is a wide range of tests that are used in clinical and educational settings to evaluate the...
Dyslexia: History
Dyslexia was clinically described by Oswald Berkhan in 1881, but the term dyslexia was coined in...
Egypt
Egypt (Arabic: Yeghipet; مصر Misr/Miṣr [misʕɾ], masri مصر Masr/Maṣr [ˈmɑsʕɾ], Copt. Ⲭⲏⲙⲓ...