MCPcopy Create free account
hub / github.com/angular/angular / DebugTaskTrackerImpl

Class DebugTaskTrackerImpl

packages/core/src/application/stability_debug_impl.ts:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16const STABILITY_WARNING_THRESHOLD = APPLICATION_IS_STABLE_TIMEOUT - 1_000;
17
18class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected