Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
30
export
function
flushEffects(): void {
31
for
(
const
watch of queue) {
32
queue.delete(watch);
33
watch.run();
34
}
35
}
36
37
export
function
resetEffects(): void {
38
queue.clear();
Callers
2
watch_spec.ts
File · 0.90
non_reactive_spec.ts
File · 0.90
Calls
2
run
Method · 0.65
delete
Method · 0.45
Tested by
no test coverage detected