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

Function observeErrors

graph-ui/src/provider/error-observer.ts:37–42  ·  view source on GitHub ↗
(listener: Listener)

Source from the content-addressed store, hash-verified

35
36/** Listen to reports; the returned function stops listening. */
37export function observeErrors(listener: Listener): () => void {
38 listeners.add(listener);
39 return () => {
40 listeners.delete(listener);
41 };
42}
43
44/** True while someone listens. The clients skip building a report otherwise. */
45export function hasErrorObservers(): boolean {

Callers 5

installUiLogFunction · 0.90
atlas-api.test.tsFile · 0.90
listenFunction · 0.90

Calls

no outgoing calls

Tested by 1

listenFunction · 0.72