+import { PoolType } from '../pool-internal'
import type { ClusterPoolOptions } from './fixed'
import { FixedClusterPool } from './fixed'
}
/** @inheritdoc */
- public get dynamic (): boolean {
- return true
+ public get type (): PoolType {
+ return PoolType.DYNAMIC
+ }
+
+ /** @inheritdoc */
+ public get busy (): boolean {
+ return this.workers.length === this.max
}
}