[筆記] Promise.all 的進階版 → Promise.allSettled 使用場景

雖說用 Promise.all 方法來處理「非同步獲取資料」的場景,不過一旦中途有某個函式發生錯誤,就會全部無效,徒留一個錯誤結果。現在改用 Promise.a Read More …