allSettled
-
Promise 객체 병렬처리Web Programming 2022. 9. 29. 18:25
상황 서버에 파일을 비동기적으로 업로드하며 병렬 처리를 위해 Axios.all을 사용 문제 Axios.all을 활용 시 하나의 Promise만 Reject 되어도 정상적으로 응답이 돌아오지 않아 이후 로직 처리 불가 탐색방법 Case 1 : https://stackoverflow.com/questions/48681126/axios-all-spread-and-catch-all axios.all spread and catch all I'm using .all method of popular library 'axios' for handling my ajax requests. But how can I handle errors in case all requests got 404? for example: axios..