wasmux
Version:
WebAssembly toolchain for compiling libc and kernel into system-level WASM modules
17 lines (14 loc) • 377 B
TypeScript
export interface WasmuxInstance {
set baseFsUrl(value: string);
set onmessage(callback: () => void);
registerDriver(name: string, driverClass: any): void;
start(): void;
stop(): void;
}
export interface WasmuxOptions {
moduleUrl?: string;
workerUrl?: string;
}
export default interface IWasmuxDefault {
(params?: string | WasmuxOptions): Promise<WasmuxInstance>;
}