X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fpool.ts;h=cc028fecf45d7e3106b09cd0028a55e977e284b9;hb=15872edc9845cab9ad28f47c669fb95fe15ae0a3;hp=7b5498096315988a93c247223ef582af6a5f99f0;hpb=3baa083708b113152d769123eb87ef8d3c3a7ce7;p=poolifier.git diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 7b549809..cc028fec 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -209,7 +209,7 @@ export interface IPool< * - `'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. * - `'full'`: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected. - * - '`destroy`': Emitted when the pool is destroyed. + * - `'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: queue size \>= maximum queue size).