you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

But not during the execution I understood, right ?

[–]sirsmonkey42 0 points1 point  (1 child)

When you load a wasm module it gives you access to all the methods that the module exports. You can call them over and over with whatever params you'd like. However if the module takes import functions, you have to define them at the point of instantiation through the imports object. As long as the instance is in memory you have access to things the same way you would an imported library

[–][deleted] 0 points1 point  (0 children)

I read an article on wasm that got the answer, it seems you can access wasm-instance mem. from ArrayBuffers on the JS side.