MCPcopy
hub / github.com/angular/angular / flushEffects

Function flushEffects

packages/core/test/signals/effect_util.ts:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30export function flushEffects(): void {
31 for (const watch of queue) {
32 queue.delete(watch);
33 watch.run();
34 }
35}
36
37export function resetEffects(): void {
38 queue.clear();

Callers 2

watch_spec.tsFile · 0.90

Calls 2

runMethod · 0.65
deleteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…