UNPKG

@puzzlehq/aleo-wasm-nodejs

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