Static FULL_Static LOG_Static Readonly MUTEXStatic REJECT_Static WASM_Static WORKERStatic WORKER_Static WORKER_Static Optional WORKER_Static WORKER_Static addStatic Protected deserializeStatic existsStatic getStatic getStatic getStatic getStatic Protected initStatic invokeInvoke a worker function and get the result with error handling.
identifies the worker object to invoke (default random id)
is the name of the function to invoke
Optional args: anyare function arguments to invoke with
resolves with response payload from the worker or an error
Static isStatic loadStatic logStatic Protected prefixStatic queueStatic removeStatic removeStatic serializeStatic setStatic setStatic setStatic setSet the worker loader closure to customize worker loading. Takes precedence over default loading mechanisms.
Could be as simple as () => new Worker(new URL("monero-ts/dist/monero.worker.js", import.meta.url)); for browsers.
Optional loader: (() => Worker)loader function which instantiates a worker
Static terminateGenerated using TypeDoc
Collection of helper utilities for the library.