>
> *Question 1*: are calls from JS into Go/WASM expected to be asynchronous?
> If so, is the callback passing approach the best way to get return values
> back to the JS code?
>
Please see https://github.com/golang/go/issues/26045. Yes they are
currently async, but they will become sync
--
You
Hello!
I've been running some experiments with WASM support in Go 1.11.
One of the experiments involves compiling a Go library into WASM and then
calling it from JS. The post below mentions how to expose Go functions to
JS, however, my experiments have shown that calls from JS into Go/WASM are