Introducing the WebAssembly JavaScript Promise Integration API
How-to 11 min +110 XP
JSPI lets WebAssembly code written against synchronous APIs call asynchronous Web APIs.
JSPI lets WebAssembly code written against synchronous APIs call asynchronous Web APIs.
WebAssembly JavaScript Promise Integration (JSPI) ships a revised API in Chrome M126 that drops explicit Suspender objects and instead uses the most recent JS-to-Wasm export call as the suspension cut point.