X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fpool.ts;h=17088559a32620f48175cb273bf709f6af817a90;hb=c319c66bad0611acf6087950a1f8a20f8124167b;hp=92e399edf37bc51f2af2a45db428851f2e63be18;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 92e399ed..17088559 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -60,6 +60,8 @@ export interface TasksQueueOptions { /** * Options for a poolifier pool. + * + * @typeParam Worker - The worker type. */ export interface PoolOptions { /** @@ -138,18 +140,6 @@ export interface IPool< * - `'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. *