(w: ParsePoolWorker)
| 257 | } |
| 258 | |
| 259 | private removeWorker(w: ParsePoolWorker): void { |
| 260 | this.workers.delete(w); |
| 261 | this.pending.delete(w); |
| 262 | this.parseCounts.delete(w); |
| 263 | this.idle = this.idle.filter((x) => x !== w); |
| 264 | } |
| 265 | |
| 266 | private dispatch(w: ParsePoolWorker, job: ParseJob): void { |
| 267 | this.inflight.set(w, job); |
no outgoing calls
no test coverage detected