await operations S1
- Stage: Stage 1
- Status: Active
- ECMAScript edition: —
- Synchronized: Aug 28, 2026
- 中文译文 · Source repository
This proposal introduces await.all, await.race, await.allSettled, and await.any to provide concurrent Promise utilities in an async/await style, reducing the need to directly use Promise methods for common patterns.
The README below comes from the upstream repository and may contain outdated stage or status metadata. Use the proposal details above as the current source of truth.
await operations proposal
The rendered spec text. Playground Link
Introduce await.all / await.race / await.allSettled / await.any to simplify the usage of async functions
Stage: 1
Champions: Jack Works, Jordan Harband
Motivation
When developers use async functions, they have to know about Promise if they want to handle multiple tasks concurrently (Promise.all, eg), this is some kind of "abstraction leak".
This proposal is intended to fix the problem by introducing concurrent Promise utils in the async-await style.
Drafted solution
Syntax: