(profiler: InjectorProfiler)
| 212 | const NOOP_PROFILER_REMOVAL = () => {}; |
| 213 | |
| 214 | function removeProfiler(profiler: InjectorProfiler) { |
| 215 | const profilerIdx = injectorProfilerCallbacks.indexOf(profiler); |
| 216 | if (profilerIdx !== -1) { |
| 217 | injectorProfilerCallbacks.splice(profilerIdx, 1); |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * Adds a callback function which will be invoked during certain DI events within the |
no test coverage detected
searching dependent graphs…