Hi all. Bit of a generic question, but figured enough of us are on the bleeding edge that some might be able to answer or give a good example.
I’ve compiled our internal lib to WASM, and can load and run it, call various functions etc just fine. No issues there. But… I need to be able to call these function outside of the actual WASM module load - if I do so as is then the functions and many other things end up undefined since the WASM hadn’t finished loading.
I figure it needs async/await or similar on the JS side of it, but JS isn’t my strong suite.
Ideas or tips?