(w: ParsePoolWorker)
| 333 | } |
| 334 | |
| 335 | private removeWorker(w: ParsePoolWorker): void { |
| 336 | this.workers.delete(w); |
| 337 | this.pending.delete(w); |
| 338 | this.parseCounts.delete(w); |
| 339 | this.idle = this.idle.filter((x) => x !== w); |
| 340 | } |
| 341 | |
| 342 | private dispatch(w: ParsePoolWorker, job: ParseJob): void { |
| 343 | this.inflight.set(w, job); |
no outgoing calls
no test coverage detected