@thatopen/services 0.34.4 → 0.34.5
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.
- package/dist/cli.js +57 -1
- package/dist/cli.js.map +1 -1
- package/dist/core/client.d.ts +18 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2285 -2234
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/core/client.d.ts
CHANGED
|
@@ -575,6 +575,24 @@ export declare class EngineServicesClient {
|
|
|
575
575
|
}[]): Promise<{
|
|
576
576
|
components: TComponents;
|
|
577
577
|
}>;
|
|
578
|
+
/**
|
|
579
|
+
* 🔴 ONE LOADING SCREEN (Jesús 4-11: opening an app showed three, one after
|
|
580
|
+
* the other). The platform keeps its own until the app says it is loaded,
|
|
581
|
+
* and `setup` said so as soon as the components were made: the app's own
|
|
582
|
+
* screens (its configuration, its viewer) then showed behind. Whatever is
|
|
583
|
+
* still getting the app ready holds the word back with this, and lets it go
|
|
584
|
+
* once it is: the platform's screen, the only one, stays until then.
|
|
585
|
+
*
|
|
586
|
+
* Returns the release; each is let go once. Held or not, the word goes 12 s
|
|
587
|
+
* after this client was made at the latest, before the platform's own
|
|
588
|
+
* deadline (15 s) calls the app dead.
|
|
589
|
+
*/
|
|
590
|
+
holdAppLoaded(maxMs?: number): () => void;
|
|
591
|
+
/**
|
|
592
|
+
* The app's shell saying it is ready to be looked at: the hold `setup` took
|
|
593
|
+
* for it, let go. Nothing if it took none.
|
|
594
|
+
*/
|
|
595
|
+
appReady(): void;
|
|
578
596
|
/**
|
|
579
597
|
* Reports an error to the platform via the {@link AppEventOrchestrator.appError} callback.
|
|
580
598
|
* @param code - Numeric error code.
|