MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / isRuntimeNotification

Function isRuntimeNotification

projects/runtime-protocol/src/protocol.ts:666–668  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

664}
665
666export function isRuntimeNotification(value: unknown): value is RuntimeNotification {
667 return validateRuntimeNotification(value).ok
668}
669
670export function runtimeError(code: string, message: string, data?: unknown): RuntimeError {
671 return data === undefined ? { code, message } : { code, message, data }

Callers 2

handleMessageMethod · 0.90
connectOnceMethod · 0.90

Calls 1

Tested by

no test coverage detected