This symbol is a non-functional stub.
Properties Jump to heading
Jump to headingexecArgv: string[] | undefinedList of string arguments passed to the Node.js executable.
Jump to headingexec: string | undefinedFile path to worker file.
Jump to headingargs: string[] | undefinedString arguments passed to worker.
Jump to headingsilent: boolean | undefinedWhether or not to send output to parent's stdio.
Jump to headingstdio: any[] | undefinedConfigures the stdio of forked processes. Because the cluster module relies on IPC to function, this configuration must
contain an 'ipc' entry. When this option is provided, it overrides silent. See child_prcess.spawn()'s
stdio.
Jump to headinguid: number | undefinedSets the user identity of the process. (See setuid(2).)
Jump to headinggid: number | undefinedSets the group identity of the process. (See setgid(2).)
Jump to headinginspectPort: number
| (() => number)
| undefinedSets inspector port of worker. This can be a number, or a function that takes no arguments and returns a number.
By default each worker gets its own port, incremented from the primary's process.debugPort.
Jump to headingserialization: SerializationType | undefinedSpecify the kind of serialization used for sending messages between processes. Possible values are 'json' and 'advanced'.
See Advanced serialization for child_process for more details.
Jump to headingcwd: string | undefinedCurrent working directory of the worker process.
Jump to headingwindowsHide: boolean | undefinedHide the forked processes console window that would normally be created on Windows systems.