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

Function getSharedValue

packages/base/src/config/ConfigurationSync.ts:46–48  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

44 * Used by late-booting runtimes to pick up values already set by others.
45 */
46const getSharedValue = <T>(name: string): T | undefined => {
47 return getSharedValues()[name] as T | undefined;
48};
49
50export { fireConfigChange, attachConfigChange, getSharedValue };

Callers 2

getLanguageFunction · 0.85
getThemeFunction · 0.85

Calls 1

getSharedValuesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…