| 16 | const STABILITY_WARNING_THRESHOLD = APPLICATION_IS_STABLE_TIMEOUT - 1_000; |
| 17 | |
| 18 | class DebugTaskTrackerImpl implements DebugTaskTracker { |
| 19 | readonly openTasks = new Map<number, Error>(); |
| 20 | |
| 21 | add(taskId: number): void { |
| 22 | this.openTasks.set(taskId, new Error('Task stack tracking error')); |
| 23 | } |
| 24 | |
| 25 | remove(taskId: number): void { |
| 26 | this.openTasks.delete(taskId); |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Provides an application initializer that will log information about what tasks are keeping |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…