Releases: GoogleChromeLabs/asyncify
Releases · GoogleChromeLabs/asyncify
Release 1.2.0
- Use
asyncify_get_state
now exported by Asyncify transform (see WebAssembly/binaryen#2679). - Improve error messages for missing import objects (previously would throw obscure
Proxy
construction error).
Release 1.1.2
Added TypeScript definitions (thanks @radu-matei!).
Release 1.1.1
(State machines are hard 😅)
This release should fix re-entrancy issues in scenarios where an imported function tries to call back into Wasm during an already runnning asynchronous call:
JS ->
await (Wasm export) ->
await (JS import) ->
await (another Wasm export) ->
await (another JS import) ->
...
Release 1.1.0
- Add support for
Proxy
-based dynamic import objects. Previously such objects wouldn't be chained correctly unless they implement list of keys as well, even though they work with regular WebAssembly API. - Expand Asyncify buffer to 1000 bytes from previous 488 bytes. This is still pretty hand-wavy, but at least doesn't conflict with default area of Clang and should still work with with most apps in other langs.