MCPcopy
hub / github.com/coder/mux / notifyConfigChanged

Function notifyConfigChanged

src/browser/stories/mocks/orpc.ts:533–537  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531 let routeOverrides = { ...initialRouteOverrides };
532 const configChangeSubscribers = new Set<(value: void) => void>();
533 const notifyConfigChanged = () => {
534 for (const push of configChangeSubscribers) {
535 push(undefined);
536 }
537 };
538 let globalSecretsState: Secret[] = [...globalSecrets];
539 const getInjectedGlobalSecretKeys = (projectPath: string): string[] => {
540 const normalizedProjectPath = projectPath.trim();

Callers 1

createMockORPCClientFunction · 0.85

Calls 1

pushFunction · 0.50

Tested by

no test coverage detected