import { type PoolOptions, type PoolType, PoolTypes } from '../pool'
import { type WorkerType, WorkerTypes } from '../worker'
+/**
+ * Options for a poolifier thread pool.
+ */
+export type ThreadPoolOptions = PoolOptions<Worker>
+
/**
* A thread pool with a fixed number of threads.
*
public constructor (
numberOfThreads: number,
filePath: string,
- opts: PoolOptions<Worker> = {},
+ opts: ThreadPoolOptions = {},
maximumNumberOfThreads?: number
) {
super(numberOfThreads, filePath, opts, maximumNumberOfThreads)