As of Firefox 155, I intend to turn Promise.allKeyed on by default. It has been developed behind the javascript.options.experimental.promise_allkeyed preference.
summary; This adds a new Promise.allKeyed method that takes an iterable of promises and returns a single Promise that resolves when all of the given promises have resolved, preserving the key-value mapping. The bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=2057270 Specification: https://tc39.es/proposal-await-dictionary/ Standards Body: TC39 Platform Coverage: All Preference: javascript.options.experimental.promise_allkeyed DevTools Bug: N/A Extensions Bug: N/A Use Counter: N/A Standards-Positions Discussion: N/A Other Browsers: Blink: N/A Safari: N/A web-platform-tests: Covered by Test262. The tests are already present in our tree (e.g., js/src/tests/test262/built-ins/Promise/{allKeyed/allSettledKeyed}). We will ensure we have the latest Test262 import before shipping. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/8a617de3-8b48-43e1-ace2-98ba2c5103fdn%40mozilla.org.
