Skip to content

Commit 13d6e4d

Browse files
committed
[번역] promise-all-failure solution.md 원문 대비 번역 수정
1 parent 8a4b46c commit 13d6e4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/11-async/08-async-await/04-promise-all-failure

1-js/11-async/08-async-await/04-promise-all-failure/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function customPromiseAllWait(promises) {
8484

8585
실행 흐름을 예측할 수 있게 보장하므로 더 안정적인 방식입니다.
8686

87-
마지막으로 모든 에러를 처리하고 싶다면 `Promise.allSettled`사용하면 됩니다. 또는 `Promise.allSettled`를 감싸는 래퍼를 작성해 모든 에러를 하나의 [AggregateError](https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) 객체에 모아 거부할 수도 있습니다.
87+
마지막으로 모든 에러를 처리하고 싶다면 `Promise.allSettled`사용하거나, 모든 에러를 하나의 [AggregateError](https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) 객체에 모아 그 객체로 거부하는 래퍼를 작성할 수 있습니다.
8888

8989
```js
9090
// 모든 프라미스가 처리될 때까지 기다립니다.

0 commit comments

Comments
 (0)