nx.js
NamespacesWebAssemblyFunctions

instantiate

instantiate(bytes, importObject)

instantiate(bytes, importObject?): Promise<WebAssemblyInstantiatedSource>

MDN Reference

Parameters

ParameterType
bytesBufferSource
importObject?Imports

Returns

Promise<WebAssemblyInstantiatedSource>

instantiate(moduleObject, importObject)

instantiate(moduleObject, importObject?): Promise<Instance>

Parameters

ParameterType
moduleObjectModule
importObject?Imports

Returns

Promise<Instance>

On this page