register

fun register(name: String, instance: Instance): Store

Register an instance in the store with the given name. All the exported functions, globals, memories, and tables are added to the store with the given name.

For instance, if a module named "myModule" exports a function named "myFunction", the function will be added to the store with the name "myFunction.myModule".