defims / wvwasi

A WebView with WASI may be the best containerized JS/WASM runtime that supports GUI and system APIs. wvwasi is it.
http://wvwasi.org
MIT License
6 stars 0 forks source link

support WinterCG specification #20

Open defims opened 8 months ago

defims commented 8 months ago

Is your feature request related to a problem? Please describe. Different operating systems have different levels of support for the WinterCG specification, which needs to be listed.

Describe the solution you'd like List the supported cases and make compatible those that can be compatible.

Describe alternatives you've considered No

Additional context No

defims commented 5 months ago

winterCG's system API is primarily based on asynchronous interfaces. JSPI will suspend the execution of wasm when calling the asynchronous system API which will return a promise, and will resume execution after the API promise resolves. Enable WASM to call asynchronous winterCG APIs