MCPcopy Create free account
hub / github.com/backnotprop/plannotator / fetchContext

Function fetchContext

packages/shared/pr-context-live.test.ts:92–95  ·  view source on GitHub ↗
(ref)

Source from the content-addressed store, hash-verified

90 const calls: PRRef[] = [];
91 const cache = createPRContextLiveCache({
92 fetchContext(ref) {
93 calls.push(ref);
94 return first.promise;
95 },
96 });
97 const events: PRContextStreamEvent[] = [];
98

Callers 1

startPollingFunction · 0.85

Calls 3

makeContextFunction · 0.85
resolveMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected