()
| 127 | * Returns true if settings were applied, false otherwise. |
| 128 | */ |
| 129 | export function downloadUserSettings(): Promise<boolean> { |
| 130 | if (downloadPromise) { |
| 131 | return downloadPromise |
| 132 | } |
| 133 | downloadPromise = doDownloadUserSettings() |
| 134 | return downloadPromise |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Force a fresh download, bypassing the cached startup promise. |
no test coverage detected