Run an array of async factories with bounded concurrency. Factories are
invoked lazily so only up to concurrency run at once. Short-circuits on
the first err — in-flight factories finish but no new ones start.
Factories must return a ResultAsync. If one rejects (rather than
resolving to err), the rejection propagates and the overall promise
rejects — wrap throwing code with fromPromise/fromAsync so failures
become typed err values.
Run an array of async factories with bounded concurrency. Factories are invoked lazily so only up to
concurrencyrun at once. Short-circuits on the firsterr— in-flight factories finish but no new ones start.Factories must return a ResultAsync. If one rejects (rather than resolving to
err), the rejection propagates and the overall promise rejects — wrap throwing code withfromPromise/fromAsyncso failures become typederrvalues.