MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / constructor

Method constructor

scripts/guardian/shared.ts:382–388  ·  view source on GitHub ↗
(
    private readonly spec: SpawnSpec,
    private readonly healthUrl: string,
    initial: ChildProcess,
  )

Source from the content-addressed store, hash-verified

380 cascade?: { expectExit: (c: ChildProcess) => void; trackReplacement: (old: ChildProcess, next: ChildProcess) => void }
381
382 constructor(
383 private readonly spec: SpawnSpec,
384 private readonly healthUrl: string,
385 initial: ChildProcess,
386 ) {
387 this.child = initial
388 }
389
390 get process(): ChildProcess {
391 return this.child

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected