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

Function deferred

graph-ui/src/adr/AdrWorkspace.test.tsx:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 });
51}
52function deferred<T>() {
53 let resolve!: (value: T) => void;
54 let reject!: (reason: unknown) => void;
55 const promise = new Promise<T>((yes, no) => { resolve = yes; reject = no; });
56 return { promise, resolve, reject };
57}
58
59it('loads only while active and refreshes the same project when a clean reader is reopened', async () => {
60 const api = source();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected