Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConcurrentWorkerSetOptions

Hierarchy

  • ConcurrentWorkerSetOptions

Index

Properties

scriptUrl

scriptUrl: string

The URL of the script for each worker to start.

Optional workerConnectionTimeout

workerConnectionTimeout: undefined | number

Timeout in milliseconds, in which each worker should set initial message.

default

10 seconds, see DEFAULT_WORKER_INITIALIZATION_TIMEOUT

Optional workerCount

workerCount: undefined | number

The number of Web Workers for processing data.

Defaults to CLAMP(navigator.hardwareConcurrency - 1, 1, 4) or [[DEFAULT_WORKER_COUNT]].

Generated using TypeDoc