MCPcopy Create free account
hub / github.com/anus-dev/ANUS / notifySubscribers

Function notifySubscribers

packages/core/src/ide/ideContext.ts:119–123  ·  view source on GitHub ↗

* Notifies all registered subscribers about the current IDE context.

()

Source from the content-addressed store, hash-verified

117 * Notifies all registered subscribers about the current IDE context.
118 */
119 function notifySubscribers(): void {
120 for (const subscriber of subscribers) {
121 subscriber(ideContextState);
122 }
123 }
124
125 /**
126 * Sets the IDE context and notifies all registered subscribers of the change.

Callers 2

setIdeContextFunction · 0.85
clearIdeContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected