UNPKG

@demox-labs/aleo-sdk

Version:
29 lines (27 loc) 694 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, OfflineQuery, Plaintext, PrivateKey, PrivateKeyCiphertext, Program, ProvingKey, RecordCiphertext, RecordPlaintext, ProgramManager, Signature, Transaction, ViewKey, VerifyingKey, verifyFunctionExecution, DecryptTransition, } from "./crates/aleo_wasm";