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

Function flush

packages/zone.js/lib/zone-spec/fake-async-test.ts:1048–1050  ·  view source on GitHub ↗
(maxTurns?: number)

Source from the content-addressed store, hash-verified

1046 * @experimental
1047 */
1048export function flush(maxTurns?: number): number {
1049 return _getFakeAsyncZoneSpec().flush(maxTurns);
1050}
1051
1052/**
1053 * Discard all remaining periodic tasks.

Callers 2

Promise.spec.tsFile · 0.50

Calls 2

_getFakeAsyncZoneSpecFunction · 0.85
flushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…