js-util

Home > rc-js-util > Emscripten > EmscriptenModule > instantiateWasm

Emscripten.EmscriptenModule.instantiateWasm() method

Signature:

instantiateWasm(imports: WebAssemblyImports, successCallback: (module: IWebAssemblyMemoryMemory) => void): WebAssemblyExports;

Parameters

Parameter Type Description
imports WebAssemblyImports  
successCallback (module: IWebAssemblyMemoryMemory) => void  

Returns:

WebAssemblyExports