WorkerClusterOptionsType
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
WorkerClusterOptionsType =
object
Defined in: src/worker/WorkerClusterOptions.ts:10
Plain options-object shape accepted by WorkerCluster.spawn.
Properties
Section titled “Properties”backend?
Section titled “backend?”
readonlyoptionalbackend?:WorkerBackend
Defined in: src/worker/WorkerClusterOptions.ts:19
basePort?
Section titled “basePort?”
readonlyoptionalbasePort?:number
Defined in: src/worker/WorkerClusterOptions.ts:15
bootstrap
Section titled “bootstrap”
readonlybootstrap:URL|string
Defined in: src/worker/WorkerClusterOptions.ts:11
hostname?
Section titled “hostname?”
readonlyoptionalhostname?:string
Defined in: src/worker/WorkerClusterOptions.ts:14
initData?
Section titled “initData?”
readonlyoptionalinitData?:unknown
Defined in: src/worker/WorkerClusterOptions.ts:16
readyTimeoutMs?
Section titled “readyTimeoutMs?”
readonlyoptionalreadyTimeoutMs?:number
Defined in: src/worker/WorkerClusterOptions.ts:18
restartPolicy?
Section titled “restartPolicy?”
readonlyoptionalrestartPolicy?:RestartPolicy
Defined in: src/worker/WorkerClusterOptions.ts:17
systemName?
Section titled “systemName?”
readonlyoptionalsystemName?:string
Defined in: src/worker/WorkerClusterOptions.ts:13
workers?
Section titled “workers?”
readonlyoptionalworkers?:number|"auto"
Defined in: src/worker/WorkerClusterOptions.ts:12
