-import type { ClusterSettings, Worker } from 'cluster'
-import cluster from 'cluster'
+import type { ClusterSettings, Worker } from 'node:cluster'
+import cluster from 'node:cluster'
import type { MessageValue } from '../../utility-types'
import { AbstractPool } from '../abstract-pool'
import type { PoolOptions } from '../pool'
return PoolType.FIXED
}
+ /** {@inheritDoc} */
+ public get full (): boolean {
+ return this.workers.length === this.numberOfWorkers
+ }
+
/** {@inheritDoc} */
public get busy (): boolean {
- return this.internalGetBusyStatus()
+ return this.internalBusy()
}
}