You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
본 챕터에서 설명한 헬퍼 함수보다 더 유용한 형태의 프라미스화를 도와주는 함수를 제공하는 모듈도 많습니다. [es6-promisify](https://github.com/digitaldesignlabs/es6-promisify)가 대표적인 예입니다. Node.js에선 내장 함수 `util.promisify`를 사용해 프라미스화를 할 수 있습니다.
125
125
126
126
```smart
127
-
프라미스화는 좋은 접근법입니다. 특히 나중에<info:async-await> 챕터에서 다룰 `async/await`와 함께 사용할 때 더욱 그렇습니다. 다만 콜백을 완전히 대체하지는 못합니다.
127
+
프라미스화는 특히 이후<info:async-await> 챕터에서 다룰 `async/await`와 함께 사용할 때 매우 유용한 접근법이지만, 콜백을 완전히 대체할 수는 없습니다.
0 commit comments