UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

12 lines 425 B
export const allSettledWithRejection = (promises) => new Promise((resolve, reject) => { Promise.allSettled(promises).then((results) => { for (const result of results) { if (result.status === 'rejected') { reject(result.reason); return; } } resolve(results.map((r) => r.value)); }); }); //# sourceMappingURL=allSettledWithRejection.js.map