After compiling a wasm file from golang (version 1.3.5), I noticed that certain functions using goroutines are not supported. When these functions are called, they run in the current thread and slow down my worker significantly.
To address this issue, I would like to create a worker within my current worker to execute the function in question in a multi-threaded manner.
I'm currently utilizing webpack's worker-loader to build my web worker.
My main query is whether it's possible to share a WebAssembly instance between two web workers?