Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
/**
* The worker choice strategy to use in this pool.
*
- * @defaultValue 'ROUND_ROBIN'
+ * @defaultValue WorkerChoiceStrategies.ROUND_ROBIN
*/
workerChoiceStrategy?: WorkerChoiceStrategy
/**
*/
public constructor (
pool: IPool<Worker, Data, Response>,
+ /**
+ * @defaultValue WorkerChoiceStrategies.ROUND_ROBIN
+ */
private workerChoiceStrategy: WorkerChoiceStrategy = WorkerChoiceStrategies.ROUND_ROBIN,
opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
) {