Crypto Server
    Preparing search index...

    Class CryptoWorkers

    Runs crypto-lib functions on a worker pool, created on first use so a server that never needs one starts no threads.

    Index
    • Call module.functionName(...args) on a worker thread. Arguments and the result are structured-cloned; a thrown error comes back as an Error with the same message.

      Type Parameters

      • T

      Parameters

      • module: "keys" | "modern" | "highLevel"
      • functionName: string
      • ...args: unknown[]

      Returns Promise<T>