@3dsource/angular-unreal-module 0.0.146-dev.5 → 0.0.146-dev.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dsource/angular-unreal-module",
3
- "version": "0.0.146-dev.5",
3
+ "version": "0.0.146-dev.6",
4
4
  "description": "Unreal module for connect with unreal engine stream",
5
5
  "keywords": [
6
6
  "3dsource",
@@ -1108,6 +1108,14 @@ declare class StreamAdoptionService {
1108
1108
  * this in `takeUntil(abortEstablishingConnection)`, so a route change / teardown
1109
1109
  * cancels it. Emits exactly once. Cancelling runs no adoption — which is what
1110
1110
  * stops a fast route-switch from starting overlapping connections.
1111
+ *
1112
+ * Wrapped in `defer` so the `tryAdopt()` side effect (which dispatches
1113
+ * `streamAdopted`) runs at SUBSCRIPTION time, not when the observable is
1114
+ * built. The effect prepends `startWith(setEstablishingConnection(true))`,
1115
+ * which starts the telemetry session and subscribes its phase catalog; that
1116
+ * must happen BEFORE `streamAdopted` → `regionTelemetryOnAdopt$` replays
1117
+ * `regionResolved`, or the region phase fires into a session that doesn't
1118
+ * exist yet and is lost. `defer` guarantees that ordering.
1111
1119
  */
1112
1120
  awaitAndAdopt$(): Observable<boolean>;
1113
1121
  /**