MCPcopy Create free account
hub / github.com/angular/components / defaultAutoChangeDetectionHandler

Function defaultAutoChangeDetectionHandler

src/cdk/testing/change-detection.ts:40–42  ·  view source on GitHub ↗

* The default handler for auto change detection status changes. This handler will be used if the * specific environment does not install its own. * @param status The new auto change detection status.

(status: AutoChangeDetectionStatus)

Source from the content-addressed store, hash-verified

38 * @param status The new auto change detection status.
39 */
40function defaultAutoChangeDetectionHandler(status: AutoChangeDetectionStatus) {
41 status.onDetectChangesNow?.();
42}
43
44/**
45 * Allows a test `HarnessEnvironment` to install its own handler for auto change detection status

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected