Skip to content

@lelantos-org/sdk / advanced / BrowserWorkerScannerOpts

Interface: BrowserWorkerScannerOpts ​

Defined in: @lelantos-org/sdk/dist/sync/worker/pool.d.ts:36

Extends ​

Properties ​

chunkSize? ​

ts
optional chunkSize?: number;

Defined in: @lelantos-org/sdk/dist/sync/worker/pool.d.ts:9

Inherited from ​

WorkerPoolScannerOpts.chunkSize


size? ​

ts
optional size?: number;

Defined in: @lelantos-org/sdk/dist/sync/worker/pool.d.ts:8

Inherited from ​

WorkerPoolScannerOpts.size


wasm? ​

ts
optional wasm?: WireWasmConfig;

Defined in: @lelantos-org/sdk/dist/sync/worker/pool.d.ts:11

Forwarded to each worker on init. See WireWasmConfig.

Inherited from ​

WorkerPoolScannerOpts.wasm


worker ​

ts
worker: WorkerFactory;

Defined in: @lelantos-org/sdk/dist/sync/worker/pool.d.ts:38

Spawns one worker; called once per pool slot. See WorkerFactory.