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

Method trigger

packages/core/test/acceptance/defer_spec.ts:2117–2122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2115 }
2116
2117 trigger(): void {
2118 for (const callback of this.callbacks) {
2119 callback?.();
2120 }
2121 this.callbacks.length = 0;
2122 }
2123 }
2124
2125 TestBed.configureTestingModule({

Callers 1

defer_spec.tsFile · 0.45

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected