Blocking operations in the WASM version (JavaScript expertise needed)

The code is still ugly, but SWI-Prolog WebAssembly build test now uses yield to read goals and ask whether or not to try and produce more answers. If anyone is interested:

Please shoot at the JavaScript. Notably I think the async stuff can be written way more elegantly.

The code is in the main swipl-devel.git, in the branch yield_wasm.

3 Likes