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

Function consumePostCompaction

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

Source from the content-addressed store, hash-verified

791/** Consume the post-compaction flag. Returns true once after compaction,
792 * then returns false until the next compaction. */
793export function consumePostCompaction(): boolean {
794 const was = STATE.pendingPostCompaction
795 STATE.pendingPostCompaction = false
796 return was
797}
798
799export function getLastInteractionTime(): number {
800 return STATE.lastInteractionTime

Callers 1

logAPISuccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected