MCPcopy Create free account
hub / github.com/Roy3838/Observer / constructor

Method constructor

app/src/utils/IterationStore.ts:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 private sessionIterationCounts = new Map<string, number>(); // sessionId -> count
52
53 constructor() {
54 // Subscribe to all log entries
55 Logger.addListener(this.handleLogEntry.bind(this));
56 // Load persisted data on startup
57 this.loadFromIndexedDB();
58 }
59
60 private handleLogEntry(log: LogEntry) {
61 const iterationId = log.details?.iterationId;

Callers

nothing calls this directly

Calls 2

loadFromIndexedDBMethod · 0.95
addListenerMethod · 0.45

Tested by

no test coverage detected