X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpools%2Fpool.ts;h=e65cc115d2d77c0a0590fa5f936043b16dcb38d2;hb=cb9b167557f9a903021bca1c7aba9fc9b24ae1b1;hp=427dfd1c56f5ff0f60caa61b7aeb8e6c74062935;hpb=9e8442454c11d9fba371dee3deadc9c26a49a335;p=poolifier.git diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 427dfd1c..e65cc115 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -201,7 +201,7 @@ export interface IPool< * - '`destroy`': Emitted when the pool is destroyed. * - `'error'`: Emitted when an uncaught error occurs. * - `'taskError'`: Emitted when an error occurs while executing a task. - * - `'backPressure'`: Emitted when all worker nodes have back pressure (i.e. their tasks queue is full). + * - `'backPressure'`: Emitted when all worker nodes have back pressure (i.e. their tasks queue is full: queue size \>= pool maximum size^2). */ readonly emitter?: PoolEmitter /**