The developers of V8, Google's high-performance JavaScript and WebAssembly engine, introduced the JavaScript Promise Integration (JSPI) API.

 


The developers of V8, Google's high-performance JavaScript and WebAssembly engine, introduced the JavaScript Promise Integration (JSPI) API.

 The API bridges the gap between synchronous applications and asynchronous Web APIs. 


  • The API allows WebAssembly applications written with the assumption that access to external functionality is synchronous to operate smoothly in asynchronous environments. 
  • It is developed on Intel x64 and ARM 64 architectures and is available for Linux, macOS, Windows, and ChromeOS. 
  • Developers interested in testing it locally should go to chrome://flags in Chrome and search for Experimental WebAssembly JavaScript Promise Integration (JSPI).  
  • The JSPI is currently in the experimental stage, and the team recommends not using it in web applications intended to be deployed in production. 

x

Post a Comment

Previous Next

Contact Form