feat: add 'full' event on dynamic pool emitter
[poolifier.git] / src / pools / pool.ts
index 8a5e505f4f2d23909db36ef3d66e987eee9e9afd..600cb4228b0b33da08a6cea5c13093ca790f1835 100644 (file)
@@ -56,7 +56,8 @@ export interface IPool<Data = unknown, Response = unknown> {
    *
    * Events that can currently be listened to:
    *
-   * - `'busy'`
+   * - `'full'`: Emitted when the pool is dynamic and full.
+   * - `'busy'`: Emitted when the pool is busy.
    */
   readonly emitter?: PoolEmitter
   /**