Skip to content

Commit

Permalink
refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspoehls committed Jul 2, 2023
1 parent e29ded0 commit 76f1119
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/promise-pool-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,7 @@ export class PromisePoolExecutor<T, R> implements UsesConcurrency, Stoppable, St
this.results()[index] = PromisePool.notRun
}

await this.waitForProcessingSlot()
this.startProcessing(item, index)

index += 1

// don't consume the next item from iterable
Expand Down

0 comments on commit 76f1119

Please sign in to comment.