MCPcopy
hub / github.com/codeaashu/claude-code / ensureMdmSettingsLoaded

Function ensureMdmSettingsLoaded

src/utils/settings/mdm/settings.ts:104–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 * If startMdmSettingsLoad() was called early enough, this resolves immediately.
103 */
104export async function ensureMdmSettingsLoaded(): Promise<void> {
105 if (!mdmLoadPromise) {
106 startMdmSettingsLoad()
107 }
108 await mdmLoadPromise
109}
110
111// ---------------------------------------------------------------------------
112// Sync cache readers — used by the settings pipeline (loadSettingsFromDisk)

Callers 1

runFunction · 0.85

Calls 1

startMdmSettingsLoadFunction · 0.85

Tested by

no test coverage detected