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

Function isSessionEndMessage

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

Source from the content-addressed store, hash-verified

304 * Check if an SDKMessage indicates the session has ended
305 */
306export function isSessionEndMessage(msg: SDKMessage): boolean {
307 return msg.type === 'result'
308}
309
310/**
311 * 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