( token: Type<unknown>, value: unknown, flags: InternalInjectFlags, )
| 339 | * @param flags the flags that the token was injected with |
| 340 | */ |
| 341 | export function emitInjectEvent( |
| 342 | token: Type<unknown>, |
| 343 | value: unknown, |
| 344 | flags: InternalInjectFlags, |
| 345 | ): void { |
| 346 | !ngDevMode && throwError('Injector profiler should never be called in production mode'); |
| 347 | |
| 348 | injectorProfiler({ |
| 349 | type: InjectorProfilerEventType.Inject, |
| 350 | context: getInjectorProfilerContext(), |
| 351 | service: {token, value, flags}, |
| 352 | }); |
| 353 | } |
| 354 | |
| 355 | export function emitEffectCreatedEvent(effect: EffectRefImpl): void { |
| 356 | !ngDevMode && throwError('Injector profiler should never be called in production mode'); |
no test coverage detected
searching dependent graphs…