(profiler: Profiler)
| 13 | const NOOP_PROFILER_REMOVAL = () => {}; |
| 14 | |
| 15 | function removeProfiler(profiler: Profiler) { |
| 16 | const profilerIdx = profilerCallbacks.indexOf(profiler); |
| 17 | if (profilerIdx !== -1) { |
| 18 | profilerCallbacks.splice(profilerIdx, 1); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * Adds a callback function which will be invoked before and after performing certain actions at |
no test coverage detected
searching dependent graphs…