MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / requestShutdown

Function requestShutdown

src/index.ts:596–598  ·  view source on GitHub ↗
(reason: string, exitCode: number = 0)

Source from the content-addressed store, hash-verified

594 process.exit(exitCode);
595 };
596 const requestShutdown = (reason: string, exitCode: number = 0) => {
597 void shutdown(reason, exitCode);
598 };
599
600 stopParentMonitor = startParentMonitor({
601 parentPid: process.ppid,

Callers 1

mainFunction · 0.85

Calls 1

shutdownFunction · 0.85

Tested by

no test coverage detected