Top level await was prototyped in fall last year, and we are now confident
with the implementation and the specification to move forward with shipping
it. The proposal is in stage 3 of the TC39 Process[1]. There are no open
issues which we are concerned about.


Proposed Standard:

Proposal Repository:


Platform coverage: all platform, pref on by default

DevTools bug:

Other browsers: Enabled by default in chrome 89 [2], bug for JSC [3]


Use cases: The proposal allows modules to pause and wait for asynchronous
work at the top level.

import processData from "./foo.js";

const data = await fetch("/some/api/endpoint");



dev-platform mailing list

Reply via email to