import type { Draft, MessageValue } from '../../utility-types'
import type { PoolOptions } from '../abstract-pool'
import { AbstractPool } from '../abstract-pool'
+import { PoolType } from '../pool-internal'
/**
* A thread worker with message channels for communication between main thread and thread worker.
// Listen worker messages.
this.registerWorkerMessageListener(worker, super.workerListener())
}
+
+ /** @inheritdoc */
+ public get type (): PoolType {
+ return PoolType.FIXED
+ }
+
+ /** @inheritdoc */
+ public get busy (): boolean {
+ return this.internalGetBusyStatus()
+ }
}