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

Function stop

src/core/process-lifecycle.ts:123–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 let stopped = false;
122
123 const stop = (): void => {
124 if (stopped) return;
125 stopped = true;
126 clearInterval(interval);
127 };
128
129 const interval = setInterval(() => {
130 if (stopped) return;

Callers 3

startParentMonitorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected