MCPcopy
hub / github.com/codeaashu/claude-code / onExit

Function onExit

src/server/web/__tests__/session-manager.test.ts:16–19  ·  view source on GitHub ↗
(handler: (e: { exitCode: number; signal: number }) => void)

Source from the content-addressed store, hash-verified

14 return { dispose() {} };
15 },
16 onExit(handler: (e: { exitCode: number; signal: number }) => void) {
17 mockPty._exitHandler = handler;
18 return { dispose() {} };
19 },
20 write: mock.fn(),
21 resize: mock.fn(),
22 kill: mock.fn(),

Callers 11

InvalidSettingsDialogFunction · 0.85
InvalidConfigDialogFunction · 0.85
PermissionRuleListFunction · 0.85
WorkspaceTabFunction · 0.85
SkillsMenuFunction · 0.85
HooksConfigMenuFunction · 0.85
AgentsMenuFunction · 0.85
constructorMethod · 0.85
handleKeyDownFunction · 0.85
useTextInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected