Skip to content

@lelantos-org/sdk / prover / BrowserWorkerProverOpts

Interface: BrowserWorkerProverOpts โ€‹

Defined in: @lelantos-org/sdk/dist/prover/worker-client.d.ts:26

Settings that must reach the worker's own module realm.

The worker never sees the caller's module-level configuration, so anything serializable that a caller can set on the main thread has to travel here too. Both are honoured only on the FIRST request โ€” the thread pool and the prover session are built once and reused.

Extends โ€‹

Properties โ€‹

cacheArtifacts? โ€‹

ts
optional cacheArtifacts?: boolean;

Defined in: @lelantos-org/sdk/dist/prover/worker-protocol.d.ts:18

Set false to skip persisting downloaded artifacts in the worker. A custom ArtifactCache cannot cross postMessage; install that with configureArtifactCache inside the worker instead.

Inherited from โ€‹

WorkerSetup.cacheArtifacts


paths โ€‹

ts
paths: 
  | ProverArtifacts
  | ProverPaths;

Defined in: @lelantos-org/sdk/dist/prover/worker-client.d.ts:29


threads? โ€‹

ts
optional threads?: number;

Defined in: @lelantos-org/sdk/dist/prover/worker-protocol.d.ts:12

Pin rayon thread count.

Inherited from โ€‹

WorkerSetup.threads


workerUrl โ€‹

ts
workerUrl: string | URL;

Defined in: @lelantos-org/sdk/dist/prover/worker-client.d.ts:28

new URL("@lelantos-org/sdk/prover-worker", import.meta.url)

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub