MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isSessionEndMessage

Function isSessionEndMessage

src/remote/sdkMessageAdapter.ts:283–285  ·  view source on GitHub ↗
(msg: SDKMessage)

Source from the content-addressed store, hash-verified

281 * Check if an SDKMessage indicates the session has ended
282 */
283export function isSessionEndMessage(msg: SDKMessage): boolean {
284 return msg.type === 'result'
285}
286
287/**
288 * Check if an SDKResultMessage indicates success

Callers 3

useRemoteSessionFunction · 0.85
useSSHSessionFunction · 0.85
useDirectConnectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected