instantiate

suspend external fun instantiate(bytes: BufferSource, importObject: Imports = definedExternally): WebAssemblyInstantiatedSource(source)

MDN Reference


suspend external fun instantiate(moduleObject: Module, importObject: Imports = definedExternally): Instance(source)