Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nukeop/nuclear
/ initLanguageWatcher
Function
initLanguageWatcher
packages/player/src/services/languageService.ts:16–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
};
15
16
export
const
initLanguageWatcher = () => {
17
coreSettingsHost.subscribe(
'general.language'
, (value) => {
18
if
(value && typeof value ===
'string'
) {
19
void changeLanguage(value);
20
}
21
});
22
};
Callers
1
initPlayerApp
Function · 0.90
Calls
2
changeLanguage
Function · 0.85
subscribe
Method · 0.45
Tested by
no test coverage detected