MCPcopy Create free account
hub / github.com/GoogleChrome/samples / receiveInstance

Function receiveInstance

sqlite-wasm-cos/sqlite3-node.mjs:497–503  ·  view source on GitHub ↗

@param {WebAssembly.Module=} module

(instance, module)

Source from the content-addressed store, hash-verified

495 // performing other necessary setup
496 /** @param {WebAssembly.Module=} module*/
497 function receiveInstance(instance, module) {
498 wasmExports = instance.exports;
499
500 assignWasmExports(wasmExports);
501
502 return wasmExports;
503 }
504
505 // Prefer streaming instantiation if available.
506 function receiveInstantiationResult(result) {

Callers 2

createWasmFunction · 0.70

Calls 1

assignWasmExportsFunction · 0.70

Tested by

no test coverage detected