launcherComputeHash
function launcherComputeHash( workerArgv, cwd?,env?): Promise<string>;Defined in: src/launcher/hash.ts:77
Compute the 16-hex-char tuple hash for a worker.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
workerArgv | readonly string[] | The worker command and its arguments. |
cwd? | string | Working directory; defaults to process.cwd(). |
env? | Record<string, string | undefined> | Process environment; defaults to process.env. Only keys starting with VGI_RPC_ participate in the hash — workers that differ only in unrelated env (PATH, HOME, …) intentionally share a worker. |
Returns
Section titled “Returns”Promise<string>