74f04286d813ccd9a1fe377d163e270031ca763cc07e9ca7916a91219280f3b7eb62f4349851a6ef42e1f7c3793dfbf8b9427b384093055dd8048955a1b136 663 B

12345678910111213141516171819
  1. import Pool from './pool'
  2. export default PoolStats
  3. declare class PoolStats {
  4. constructor (pool: Pool)
  5. /** Number of open socket connections in this pool. */
  6. connected: number
  7. /** Number of open socket connections in this pool that do not have an active request. */
  8. free: number
  9. /** Number of pending requests across all clients in this pool. */
  10. pending: number
  11. /** Number of queued requests across all clients in this pool. */
  12. queued: number
  13. /** Number of currently active requests across all clients in this pool. */
  14. running: number
  15. /** Number of active, pending, or queued requests across all clients in this pool. */
  16. size: number
  17. }