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

Class TestComponent

packages/core/test/di/inject_async/inject_async_spec.ts:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 @Component({template: ''})
135 class TestComponent {
136 service = injectAsync(() => Promise.resolve(RootService))();
137 }
138
139 TestBed.configureTestingModule({imports: [TestComponent]});
140

Callers

nothing calls this directly

Calls 3

ComponentInterface · 0.90
injectAsyncFunction · 0.90
resolveMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…