MCPcopy Create free account
hub / github.com/angular/angular / trigger

Method trigger

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

Source from the content-addressed store, hash-verified

2130 }
2131
2132 trigger(): void {
2133 for (const callback of this.callbacks) {
2134 callback?.();
2135 }
2136 this.callbacks.length = 0;
2137 }
2138 }
2139
2140 TestBed.configureTestingModule({

Callers 1

defer_spec.tsFile · 0.45

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected