MCPcopy Index your code
hub / github.com/angular/angular / logWarningOnStableTimedout

Function logWarningOnStableTimedout

packages/core/src/hydration/api.ts:380–387  ·  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

378 * @param time The time in ms until the stable timedout warning message is logged
379 */
380function logWarningOnStableTimedout(time: number, console: Console): void {
381 const message =
382 `Angular hydration expected the ApplicationRef.isStable() to emit \`true\`, but it ` +
383 `didn't happen within ${time}ms. Angular hydration logic depends on the application becoming stable ` +
384 `as a signal to complete hydration process.`;
385
386 console.warn(formatRuntimeError(RuntimeErrorCode.HYDRATION_STABLE_TIMEDOUT, message));
387}

Callers 1

whenStableWithTimeoutFunction · 0.85

Calls 2

formatRuntimeErrorFunction · 0.90
warnMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…