X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fpool.ts;h=881ea62a04d0ffba4fe6d30de4bd30827c1719dd;hb=b7cfced1c598a7516592d9b85c8198916c34c43c;hp=78d298f90f20381d3cb2157d276e32ced109f4a2;hpb=2431bdb4c2dc637169bf623a40fc6562f685e56e;p=poolifier.git diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 78d298f9..881ea62a 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -183,7 +183,7 @@ export interface IPool< * Events that can currently be listened to: * * - `'full'`: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected. - * - `'ready'`: Emitted when the number of workers created in the pool has reached the maximum size expected and are ready. + * - `'ready'`: Emitted when the number of workers created in the pool has reached the minimum size expected and are ready. * - `'busy'`: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task. * - `'error'`: Emitted when an uncaught error occurs. * - `'taskError'`: Emitted when an error occurs while executing a task.