up
This commit is contained in:
parent
7a51c05ded
commit
0576ea79d8
18 changed files with 375 additions and 109 deletions
15
8-async/04-promise-api/article.md
Normal file
15
8-async/04-promise-api/article.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Promises API
|
||||
|
||||
Let's meet more functions and methods for promises.
|
||||
|
||||
|
||||
|
||||
Keywords `async` and `await` provide a more elegant way to write the code using promises.
|
||||
|
||||
## Async functions
|
||||
|
||||
The `async` function is like a regular one, but it wraps a returned value in a `Promise`.
|
||||
|
||||
|
||||
|
||||
Nowadays, promises are de-facto standard for asynchronous actions, when we need to
|
Loading…
Add table
Add a link
Reference in a new issue