UNPKG

@puzzlehq/aleo-wasm-web

Version:
28 lines (27 loc) 677 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 { Address, Execution, ExecutionResponse, Field, Metadata, OfflineQuery, Plaintext, PrivateKey, PrivateKeyCiphertext, Program, ProvingKey, RecordCiphertext, RecordPlaintext, ProgramManager, Signature, Transaction, ViewKey, VerifyingKey, verifyFunctionExecution, } from "./aleo_wasm";