* Pool types.
*
* @enum
+ * @internal
*/
export enum PoolType {
/**
/**
* Options for a poolifier pool.
+ *
+ * @typeParam Worker - Type of worker.
*/
export interface PoolOptions<Worker extends IWorker> {
/**
*
* @typeParam Worker - Type of worker which manages this pool.
* @typeParam Data - Type of data sent to the worker. This can only be serializable data.
- * @typeParam Response - Type of response of execution. This can only be serializable data.
+ * @typeParam Response - Type of execution response. This can only be serializable data.
*/
export interface IPool<
Worker extends IWorker,
* - `'busy'`: Emitted when the pool is busy.
*/
readonly emitter?: PoolEmitter
- /**
- * Whether the pool is full or not.
- *
- * The pool filling boolean status.
- */
- readonly full: boolean
- /**
- * Whether the pool is busy or not.
- *
- * The pool busyness boolean status.
- */
- readonly busy: boolean
/**
* Finds a free worker node key based on the number of tasks the worker has applied.
*