Skip to content

WorkerData

Signature

export interface WorkerData

Properties

mode: 'custom' | 'clusters' | 'threads';
hotReload?: boolean;

Set on a hot reload replacement, which only builds its cache until the manager switches to it.

generation?: number;

The worker instance; `0` or unset for workers spawned normally.