Module Mavryk_wasmer.Instance

type t

WebAssembly module instance

val create : Store.t -> Module.t -> (string * string * extern) list -> t Lwt.t

create store module_ imports instantiates a module and links the given imports against what the module needs.

val delete : t -> unit

delete instance destroys the module instance. Make sure that instance is not used after delete is called on it.