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

Function logWarningOnStableTimedout

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

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

Callers 1

whenStableWithTimeoutFunction · 0.85

Calls 2

formatRuntimeErrorFunction · 0.90
warnMethod · 0.65

Tested by

no test coverage detected