UNPKG

@provablehq/wasm

Version:

SnarkVM WASM binaries with javascript bindings

8 lines (7 loc) 343 B
/** * Initializes a thread pool of Workers. This enables multi-threading, which significantly improves performance. * * @param {number | undefined} threads Number of threads to spawn. If not specified, uses the number of available cores. */ export function initThreadPool(threads?: number): Promise<void>; export * from "./aleo_wasm.js";