WXL
5 天以前 871522ed7e06fd9c62a87c178d7f5c88d7853a20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Client from './client'
 
export default ClientStats
 
declare class ClientStats {
  constructor (pool: Client)
  /** If socket has open connection. */
  connected: boolean
  /** Number of open socket connections in this client that do not have an active request. */
  pending: number
  /** Number of currently active requests of this client. */
  running: number
  /** Number of active, pending, or queued requests of this client. */
  size: number
}