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

Function injectorProfiler

packages/core/src/render3/debug/injector_profiler.ts:253–260  ·  view source on GitHub ↗
(event: InjectorProfilerEvent)

Source from the content-addressed store, hash-verified

251 * @param event InjectorProfilerEvent corresponding to the DI event being emitted
252 */
253export function injectorProfiler(event: InjectorProfilerEvent): void {
254 !ngDevMode && throwError('Injector profiler should never be called in production mode');
255
256 for (let i = 0; i < injectorProfilerCallbacks.length; i++) {
257 const injectorProfilerCallback = injectorProfilerCallbacks[i];
258 injectorProfilerCallback(event);
259 }
260}
261
262/**
263 * Emits an InjectorProfilerEventType.ProviderConfigured to the injector profiler. The data in the

Calls 1

throwErrorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…