BASELINE NowYouCanUse.com
Limited Availability WebAssembly
id: wasm-jspi

JavaScript promise integration (WebAssembly)

The JavaScript promise integration (JSPI) suspends a WebAssembly module when it calls a JavaScript method that returns a promise. The module resumes when the promise is resolved. You can use this to call asynchronous Web APIs from synchronous WebAssembly.
Baseline Status: This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
137
Supported
Mozilla Firefox
153
Supported
Apple Safari
Unsupported
Microsoft Edge
137
Supported
Mobile Browser Engine Support
Chrome Android
137
Firefox Android
153
Safari iOS
Specifications and References