MCPcopy Create free account
hub / github.com/UI5/webcomponents / fireConfigChange

Function fireConfigChange

packages/base/src/config/ConfigurationSync.ts:19–28  ·  view source on GitHub ↗
(name: string, value: unknown)

Source from the content-addressed store, hash-verified

17 * The firing runtime's own handler is skipped via the skip-guard pattern.
18 */
19const fireConfigChange = (name: string, value: unknown): void => {
20 getSharedValues()[name] = value;
21
22 skipFlags.add(name);
23 try {
24 getEventProvider().fireEvent(CONFIG_CHANGE, { name, value });
25 } finally {
26 skipFlags.delete(name);
27 }
28};
29
30/**
31 * Registers a per-setting cross-runtime listener.

Callers 3

setLanguageFunction · 0.85
setThemeFunction · 0.85

Calls 4

getSharedValuesFunction · 0.85
addMethod · 0.80
fireEventMethod · 0.80
getEventProviderFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…