angular/packages/platform-server/test
Andrew Kushnir 478c5ac150 refactor(core): internal tracker of pending tasks during initial rendering (#49576)
This commit implements a simple tracker of the pending tasks during initial rendering. The class allows adding and removing tasks from the set. The class also exposes a promise that gets resolved once the last task is removed.

This tracker is needed to keep track of ongoing processes like Router navigation (and potentially HTTP requests) and acts as a signaling mechanism to SSR and hydration that the application is in the "stable" state and a serialization can be performed.

This class would also act as a future replacement for the `ApplicationRef.isStable` for zoneless applications.

PR Close #49576
2023-03-28 16:19:31 -07:00
..
BUILD.bazel refactor(core): internal tracker of pending tasks during initial rendering (#49576) 2023-03-28 16:19:31 -07:00
hydration_spec.ts refactor(core): internal tracker of pending tasks during initial rendering (#49576) 2023-03-28 16:19:31 -07:00
integration_spec.ts refactor(core): internal tracker of pending tasks during initial rendering (#49576) 2023-03-28 16:19:31 -07:00
transfer_state_spec.ts test: update tests to remove deprecated withServerTransition (#49422) 2023-03-15 17:08:18 -07:00