Zum Inhalt springen
Deutsch

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.

readonly optional backend?: WorkerBackend

Defined in: src/worker/WorkerClusterOptions.ts:19


readonly optional basePort?: number

Defined in: src/worker/WorkerClusterOptions.ts:15


readonly bootstrap: URL | string

Defined in: src/worker/WorkerClusterOptions.ts:11


readonly optional hostname?: string

Defined in: src/worker/WorkerClusterOptions.ts:14


readonly optional initData?: unknown

Defined in: src/worker/WorkerClusterOptions.ts:16


readonly optional readyTimeoutMs?: number

Defined in: src/worker/WorkerClusterOptions.ts:18


readonly optional restartPolicy?: RestartPolicy

Defined in: src/worker/WorkerClusterOptions.ts:17


readonly optional systemName?: string

Defined in: src/worker/WorkerClusterOptions.ts:13


readonly optional workers?: number | "auto"

Defined in: src/worker/WorkerClusterOptions.ts:12