MCPcopy Create free account
hub / github.com/WJX20/claude-code / isSessionEndMessage

Function isSessionEndMessage

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

Source from the content-addressed store, hash-verified

285 * Check if an SDKMessage indicates the session has ended
286 */
287export function isSessionEndMessage(msg: SDKMessage): boolean {
288 return msg.type === 'result'
289}
290
291/**
292 * 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