()
| 102 | * If startMdmSettingsLoad() was called early enough, this resolves immediately. |
| 103 | */ |
| 104 | export 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) |
no test coverage detected