MCPcopy Create free account
hub / github.com/angular/angular / logWarningOnStableTimedout

Function logWarningOnStableTimedout

packages/core/src/hydration/api.ts:391–398  ·  view source on GitHub ↗

* * @param time The time in ms until the stable timedout warning message is logged

(time: number, console: Console)

Source from the content-addressed store, hash-verified

389 * @param time The time in ms until the stable timedout warning message is logged
390 */
391function 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}

Callers 1

whenStableWithTimeoutFunction · 0.85

Calls 2

formatRuntimeErrorFunction · 0.90
warnMethod · 0.65

Tested by

no test coverage detected