Practice ยท 1 of 3
Partial-Failure Report
Write async function gatherReport(fetchers) where fetchers is an array of { name, run } and run() returns a promise. Run all concurrently with Promise.allSettled and RETURN { ok, broken } โ ok maps each fulfilled fetcher's name to its value, broken lists the names of rejected ones.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Promise Combinators โ Practice