import { WasmModule } from "./wasm_module"; export const runModule = async (wasmBinPath: string) => { console.info(`Wasm module: "${wasmBinPath}" -> start`); const wasmModule = await WasmModule.create(wasmBinPath); console.info(`Wasm module: "${wasmBinPath}" -> initialized`); wasmModule.start_application(); console.info(`Wasm module: "${wasmBinPath}" -> launched start_application function`); };