MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pull

Function pull

graph-ui/tools/agent-bridge.mjs:383–390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

381 let timer = null;
382 if (mode === 'live') {
383 const pull = () => {
384 const before = state.events.length;
385 void readNew().then((added) => {
386 if (added > 0) {
387 broadcast(state.events.slice(before));
388 }
389 });
390 };
391 timer = setInterval(pull, POLL_MS);
392 try {
393 watcher = watch(file, pull);

Callers

nothing calls this directly

Calls 2

readNewFunction · 0.85
broadcastFunction · 0.70

Tested by

no test coverage detected