@openfin/workspace-platform 23.2.18 → 23.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,6 +23,14 @@ export declare const getThemeStorageController: () => ThemeStorageController;
|
|
|
23
23
|
* @param allowFailure Whether to suppress rejections and continue anyway. Recommended for most use cases.
|
|
24
24
|
*/
|
|
25
25
|
export declare const waitForFirstThemeSync: (allowFailure?: boolean) => Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Whether `initialiseThemeController` has run in this module instance. Callers that gate on
|
|
28
|
+
* `waitForFirstThemeSync` must check this first: `firstThemeSync` is module-level state, so a
|
|
29
|
+
* separately-bundled copy of this module (e.g. `@openfin/enterprise-api`, which bundles its own
|
|
30
|
+
* copy alongside the customer's `@openfin/workspace-platform`) has a promise that nothing will
|
|
31
|
+
* ever settle — awaiting it would hang forever.
|
|
32
|
+
*/
|
|
33
|
+
export declare const isThemeControllerInitialised: () => boolean;
|
|
26
34
|
/**
|
|
27
35
|
* Creates and initialises the Theme Storage Controller singleton.
|
|
28
36
|
*
|