Skip to content

Option ‣ topLevelAwait

Chung Leong edited this page Mar 15, 2025 · 1 revision

When enabled, top-level await will be used to wait for compilation of WASM code.

Default:

true

Note:

Top-level await is a relatively new feature. Support is not quite universal. Consult this chart at caniuse.com to see the version required for various browsers.

Clone this wiki locally