MCPcopy 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.tsFile · 0.45

Calls 4

valuesMethod · 0.80
callbackFunction · 0.50
clearMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected