SpawnMspConnectionOptions
What spawnMspConnection needs to launch a host: the command to run, plus
optional arguments, working directory, environment, connection tuning, a
stderr tap, and the shutdown drain budget.
Properties
Section titled “Properties”| Property | Type | Stability | Presence | Description |
|---|---|---|---|---|
args |
readonly string[] |
optional | ||
command |
string |
required | ||
connection |
ConnectionOptions |
optional | ||
cwd |
string |
optional | ||
env |
ProcessEnv |
optional | ||
onStderr |
(chunk: string) => void |
optional | Raw stderr chunks, drained from process birth and never parsed. | |
shutdownTimeoutMs |
number |
optional | See MuseServeChildOptions.shutdownTimeoutMs. |
Source
clients/sdk-ts/src/connection/spawn.ts:30
{ "kind": "Interface", "canonicalPath": "SpawnMspConnectionOptions"}