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

Method applyNotification

projects/runtime-client/src/cache.ts:65–68  ·  view source on GitHub ↗
(notification: RuntimeNotification)

Source from the content-addressed store, hash-verified

63 }
64
65 applyNotification(notification: RuntimeNotification): RuntimeRecord | null {
66 if (!RUNTIME_RECORD_NOTIFICATION_METHODS.has(notification.method)) return null
67 return this.upsert(notification.params)
68 }
69
70 delete(runtimeId: string): boolean {
71 return this.records.delete(runtimeId)

Callers 1

cache.test.tsFile · 0.45

Calls 2

upsertMethod · 0.95
hasMethod · 0.80

Tested by

no test coverage detected