MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / importFFI

Function importFFI

apps/desktop/src/sidecar/server.ts:24–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 type QuickJSSyncVariant = import("quickjs-emscripten").QuickJSSyncVariant;
23 const wasmBinary = await Bun.file(wasmOnDisk).arrayBuffer();
24 const importFFI: QuickJSSyncVariant["importFFI"] = () =>
25 import("@jitl/quickjs-wasmfile-release-sync/ffi").then((m) => m.QuickJSFFI);
26 const importModuleLoader: QuickJSSyncVariant["importModuleLoader"] = async () => {
27 const { default: original } =
28 await import("@jitl/quickjs-wasmfile-release-sync/emscripten-module");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected