()
| 1122 | } |
| 1123 | |
| 1124 | private pruneExcludedPendingTaskInfo(): void { |
| 1125 | for (const path of this.pendingTaskInfoByPath.keys()) { |
| 1126 | if (!this.isValidFile(path)) { |
| 1127 | this.pendingTaskInfoByPath.delete(path); |
| 1128 | } |
| 1129 | } |
| 1130 | } |
| 1131 | |
| 1132 | subscribe(event: string, callback: (...args: unknown[]) => void): () => void { |
| 1133 | this.on(event, callback); |
no test coverage detected