MCPcopy
hub / github.com/angular/components / manualChangeDetection

Function manualChangeDetection

src/cdk/testing/change-detection.ts:118–120  ·  view source on GitHub ↗
(fn: () => Promise<T>)

Source from the content-addressed store, hash-verified

116 * @return The result of the given function.
117 */
118export async function manualChangeDetection<T>(fn: () => Promise<T>) {
119 return batchChangeDetection(fn, false);
120}
121
122/**
123 * Resolves the given list of async values in parallel (i.e. via Promise.all) while batching change

Callers 1

testbed.spec.tsFile · 0.90

Calls 1

batchChangeDetectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…