Response = unknown
> implements IWorkerChoiceStrategy {
/** @inheritDoc */
- public readonly isDynamicPool: boolean
+ protected readonly isDynamicPool: boolean
/** @inheritDoc */
public requiredStatistics: RequiredStatistics = {
runTime: false,
* @param pool - The pool instance.
*/
public constructor (
- public readonly pool: IPoolInternal<Worker, Data, Response>
+ protected readonly pool: IPoolInternal<Worker, Data, Response>
) {
this.isDynamicPool = this.pool.type === PoolType.DYNAMIC
this.choose.bind(this)
* Worker choice strategy interface.
*/
export interface IWorkerChoiceStrategy {
- /**
- * Is the pool bound to the strategy dynamic?.
- */
- readonly isDynamicPool: boolean
/**
* Required pool tasks usage statistics.
*/