MCPcopy Index your code
hub / github.com/angular/components / handleAutoChangeDetectionStatus

Function handleAutoChangeDetectionStatus

src/cdk/testing/change-detection.ts:49–54  ·  view source on GitHub ↗
(
  handler: (status: AutoChangeDetectionStatus) => void,
)

Source from the content-addressed store, hash-verified

47 * @param handler The handler for the auto change detection status.
48 */
49export function handleAutoChangeDetectionStatus(
50 handler: (status: AutoChangeDetectionStatus) => void,
51) {
52 stopHandlingAutoChangeDetectionStatus();
53 autoChangeDetectionSubscription = autoChangeDetectionSubject.subscribe(handler);
54}
55
56/** Allows a `HarnessEnvironment` to stop handling auto change detection status changes. */
57export function stopHandlingAutoChangeDetectionStatus() {

Callers 2

batchChangeDetectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…