Is there a way to return all successful promises from fetch until one fails?

The Javascript function Promise.allSettled waits for all resolved or rejected promises to finish. Promise.all won’t return the resolved promises if any of them are rejected, and Promise.race and Promise.any only give the first settled or fufilled promise.

Is there a way to send off multiple promises (say 100), and then as soon as one fails (perhaps have 20 succeed) cancel the unsettled promises (of which there are 100 – 20 – 1 = 79 not yet settled)? I don’t even need the details of which failed, but just a sort of Promise.someSettled function.

Is that possible?