MCPcopy Index your code
hub / github.com/Dimillian/CodexMonitor / subscribeErrorToasts

Function subscribeErrorToasts

src/services/toasts.ts:39–44  ·  view source on GitHub ↗
(listener: ErrorToastListener)

Source from the content-addressed store, hash-verified

37}
38
39export function subscribeErrorToasts(listener: ErrorToastListener) {
40 errorToastListeners.add(listener);
41 return () => {
42 errorToastListeners.delete(listener);
43 };
44}
45

Callers 2

useErrorToastsFunction · 0.90
toasts.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected