Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ trigger
Method
trigger
packages/core/test/acceptance/defer_spec.ts:851–855 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
849
}
850
851
trigger(): void {
852
const
callbacks = [...this.pending.values()];
853
this.pending.clear();
854
callbacks.forEach((callback) => callback());
855
}
856
}
857
858
TestBed.configureTestingModule({
Callers
1
defer_spec.ts
File · 0.45
Calls
4
values
Method · 0.80
callback
Function · 0.50
clear
Method · 0.45
forEach
Method · 0.45
Tested by
no test coverage detected