Skip to content

Commit 646989d

Browse files
authored
Merge pull request #1346 from KamenKolev/patch-1
Corrected typos
2 parents 1a13738 + 723514f commit 646989d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/11-async/05-promise-api/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Here the second promise rejects in two seconds. That leads to immediate rejectio
9494
```warn header="In case of an error, other promises are ignored"
9595
If one promise rejects, `Promise.all` immediately rejects, completely forgetting about the other ones in the list. Their results are ignored.
9696
97-
For example, if there are multiple `fetch` calls, like in the example above, and one fails, other ones will still continue to execute, but `Promise.all` don't watch them any more. They will probably settle, but the result will be ignored.
97+
For example, if there are multiple `fetch` calls, like in the example above, and one fails, other ones will still continue to execute, but `Promise.all` won't watch them anymore. They will probably settle, but the result will be ignored.
9898
9999
`Promise.all` does nothing to cancel them, as there's no concept of "cancellation" in promises. In [another chapter](info:fetch-abort) we'll cover `AbortController` that can help with that, but it's not a part of the Promise API.
100100
```

0 commit comments

Comments
 (0)