- Worker extends AbstractPoolWorker,
- Data,
- Response
-> implements IWorkerChoiceStrategy<Worker> {
- /** @inheritdoc */
- public isDynamicPool: boolean = this.pool.type === PoolType.DYNAMIC
+ Worker extends IPoolWorker,
+ Data = unknown,
+ Response = unknown
+> implements IWorkerChoiceStrategy {
+ /** @inheritDoc */
+ public readonly isDynamicPool: boolean
+ /** @inheritDoc */
+ public requiredStatistics: RequiredStatistics = {
+ runTime: false,
+ avgRunTime: false
+ }