ClusterSettings
[<Interface>]
type ClusterSettings =
abstract member args: string array option with get, set
abstract member cwd: string option with get, set
abstract member exec: string option with get, set
abstract member execArgv: string array option with get, set
abstract member gid: float option with get, set
abstract member inspectPort: U2<float,(unit -> float)> option with get, set
abstract member serialization: SerializationType option with get, set
abstract member silent: bool option with get, set
abstract member stdio: obj array option with get, set
abstract member uid: float option with get, set
abstract member windowsHide: bool option with get, set
static member Create (?execArgv: string array, ?exec: string, ?args: string array, ?silent: bool, ?stdio: obj array, ?uid: float, ?gid: float, ?inspectPort: U2<float,(unit -> float)>, ?serialization: SerializationType, ?cwd: string, ?windowsHide: bool) : ClusterSettings| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Properties
abstract member execArgv: string array option with get, set
abstract member execArgv: string array option with get, setList of string arguments passed to the Node.js executable.
abstract member gid: float option with get, set
abstract member gid: float option with get, setSets the group identity of the process. (See setgid(2).)
abstract member inspectPort: U2<float,(unit -> float)> option with get, set
abstract member inspectPort: U2<float,(unit -> float)> option with get, setSets 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.
abstract member serialization: SerializationType option with get, set
abstract member serialization: SerializationType option with get, setSpecify 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.
abstract member silent: bool option with get, set
abstract member silent: bool option with get, setWhether or not to send output to parent's stdio.
abstract member stdio: obj array option with get, set
abstract member stdio: obj array option with get, setConfigures 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.
abstract member uid: float option with get, set
abstract member uid: float option with get, setSets the user identity of the process. (See setuid(2).)
abstract member windowsHide: bool option with get, set
abstract member windowsHide: bool option with get, setHide the forked processes console window that would normally be created on Windows systems.
Methods
static member Create (?execArgv: string array, ?exec: string, ?args: string array, ?silent: bool, ?stdio: obj array, ?uid: float, ?gid: float, ?inspectPort: U2<float,(unit -> float)>, ?serialization: SerializationType, ?cwd: string, ?windowsHide: bool) : ClusterSettings