X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fselection-strategies%2Fround-robin-worker-choice-strategy.ts;h=9cc966c47956a9a1689f82a435168127bbfbd272;hb=afc003b20097712625ffd053e256ef5336e27b6e;hp=91ceb5bc9ade9e8d8df8be244c54fd105b76771a;hpb=2285a040e7d48457c735547e296939b0341d29fd;p=poolifier.git diff --git a/src/pools/selection-strategies/round-robin-worker-choice-strategy.ts b/src/pools/selection-strategies/round-robin-worker-choice-strategy.ts index 91ceb5bc..9cc966c4 100644 --- a/src/pools/selection-strategies/round-robin-worker-choice-strategy.ts +++ b/src/pools/selection-strategies/round-robin-worker-choice-strategy.ts @@ -21,13 +21,13 @@ export class RoundRobinWorkerChoiceStrategy< */ private nextWorkerId: number = 0 - /** {@inheritDoc} */ + /** @inheritDoc */ public reset (): boolean { this.nextWorkerId = 0 return true } - /** {@inheritDoc} */ + /** @inheritDoc */ public choose (): number { const chosenWorkerKey = this.nextWorkerId this.nextWorkerId = @@ -37,7 +37,7 @@ export class RoundRobinWorkerChoiceStrategy< return chosenWorkerKey } - /** {@inheritDoc} */ + /** @inheritDoc */ public remove (workerKey: number): boolean { if (this.nextWorkerId === workerKey) { if (this.pool.workers.length === 0) {