* * @param time The time in ms until the stable timedout warning message is logged
(time: number, console: Console)
| 389 | * @param time The time in ms until the stable timedout warning message is logged |
| 390 | */ |
| 391 | function logWarningOnStableTimedout(time: number, console: Console): void { |
| 392 | const message = |
| 393 | `Angular hydration expected the ApplicationRef.isStable() to emit \`true\`, but it ` + |
| 394 | `didn't happen within ${time}ms. Angular hydration logic depends on the application becoming stable ` + |
| 395 | `as a signal to complete hydration process.`; |
| 396 | |
| 397 | console.warn(formatRuntimeError(RuntimeErrorCode.HYDRATION_STABLE_TIMEDOUT, message)); |
| 398 | } |
no test coverage detected