fixes
This commit is contained in:
parent
fb03c7d539
commit
2c57f11fdf
6 changed files with 79 additions and 44 deletions
|
@ -1,9 +1,9 @@
|
|||
|
||||
# Rewrite "rethrow" async/await
|
||||
|
||||
Rewrite the "rethrow" example from the chapter <info:promise-chaining> using `async/await` instead of `.then/catch`.
|
||||
Below you can find the "rethrow" example from the chapter <info:promise-chaining>. Rewrite it using `async/await` instead of `.then/catch`.
|
||||
|
||||
And get rid of recursion in favour of a loop in `demoGithubUser`: with `async/await` that becomes possible and is easier to develop later on.
|
||||
And get rid of the recursion in favour of a loop in `demoGithubUser`: with `async/await` that becomes easy to do.
|
||||
|
||||
```js run
|
||||
class HttpError extends Error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue