3 ms·
If you add a .catch to a promise, then it will never reject, so you get this with .all also. I'd also never heard of .allSettled which is a pity because I need
by locallost 6y ago
If you add a .catch to a promise, then it will never reject, so you get this with .all also. I'd also never heard of .allSettled which is a pity because I need it frequently. For instance when I have a bunch of requests that run in parallel, and I don't really care if they all succeed, just that they are all complete.