- this.setWorkerTaskRunTime(currentWorker, workerTaskWeight, 0)
- }
- if (
- workerVirtualTaskRunTime <
- (this.workersTaskRunTime.get(currentWorker)?.weight ??
- this.defaultWorkerWeight)
- ) {
- this.previousWorkerIndex = this.currentWorkerIndex
- } else {
- this.previousWorkerIndex = this.currentWorkerIndex