forEach , 고차함수(reduce,map)등에서 await를 사용해야할때 promise.all로 교체

정태민·2023년 2월 13일
0

회사업무

목록 보기
13/17

const promises = arr.map(async (value, index) => {
....
});
await Promise.all(promises);

profile
퇴근후 30분 출근전 30분

0개의 댓글