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

Function markPostCompaction

src/bootstrap/state.ts:787–789  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

785/** Mark that a compaction just occurred. The next API success event will
786 * include isPostCompaction=true, then the flag auto-resets. */
787export function markPostCompaction(): void {
788 STATE.pendingPostCompaction = true
789}
790
791/** Consume the post-compaction flag. Returns true once after compaction,
792 * then returns false until the next compaction. */

Callers 4

callFunction · 0.85
compactConversationFunction · 0.85
autoCompactIfNeededFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected