Skip to content

@armada/sdk / index / createWorkerProver

Function: createWorkerProver()

createWorkerProver(channel): ProverAdapter

Defined in: src/prover/worker-prover.ts:76

Main-thread ProverAdapter over a WorkerChannel — proving runs off the main thread in the worker. close() posts a close request (so the worker terminates its curve threads) then terminates the channel.

Parameters

channel

WorkerChannel

Returns

ProverAdapter