MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / stopWatcher

Function stopWatcher

packages/cli/src/cli.ts:67–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66 const controller = new AbortController();
67 const stopWatcher = () => {
68 console.log("\nStopping watcher...");
69 controller.abort();
70 };
71
72 process.once("SIGINT", stopWatcher);
73 process.once("SIGTERM", stopWatcher);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected