MCPcopy Create free account
hub / github.com/ConsortiumAI/Consortium / handleInterrupt

Function handleInterrupt

packages/consortium-cli/src/ui/auth.ts:56–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 let cancelled = false;
55
56 const handleInterrupt = () => {
57 cancelled = true;
58 console.log('\n\nAuthentication cancelled.');
59 process.exit(0);
60 };
61
62 process.on('SIGINT', handleInterrupt);
63

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected