MCPcopy Create free account
hub / github.com/Noumena-Network/code / consumePendingCacheEdits

Function consumePendingCacheEdits

src/services/compact/microCompact.ts:89–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 * Clears the pending state (caller must pin them after insertion).
88 */
89export function consumePendingCacheEdits():
90 | import('./cachedMicrocompact.js').CacheEditsBlock
91 | null {
92 const edits = pendingCacheEdits
93 pendingCacheEdits = null
94 return edits
95}
96
97/**
98 * Get all previously-pinned cache edits that must be re-sent at their

Callers 1

queryModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected