MCPcopy
hub / github.com/tiagozip/cap / InitOutput

Interface InitOutput

wasm/src/browser/cap_wasm.d.ts:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
6
7export interface InitOutput {
8 readonly memory: WebAssembly.Memory;
9 readonly solve_pow: (a: number, b: number, c: number, d: number) => bigint;
10 readonly __wbindgen_export_0: WebAssembly.Table;
11 readonly __wbindgen_malloc: (a: number, b: number) => number;
12 readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
13 readonly __wbindgen_start: () => void;
14}
15
16export type SyncInitInput = BufferSource | WebAssembly.Module;
17/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected