@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.
@@ -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.