diff options
Diffstat (limited to 'vanilla/node_modules/undici/lib/util/stats.js')
| -rw-r--r-- | vanilla/node_modules/undici/lib/util/stats.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/vanilla/node_modules/undici/lib/util/stats.js b/vanilla/node_modules/undici/lib/util/stats.js deleted file mode 100644 index a13132e..0000000 --- a/vanilla/node_modules/undici/lib/util/stats.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict' - -const { - kConnected, - kPending, - kRunning, - kSize, - kFree, - kQueued -} = require('../core/symbols') - -class ClientStats { - constructor (client) { - this.connected = client[kConnected] - this.pending = client[kPending] - this.running = client[kRunning] - this.size = client[kSize] - } -} - -class PoolStats { - constructor (pool) { - this.connected = pool[kConnected] - this.free = pool[kFree] - this.pending = pool[kPending] - this.queued = pool[kQueued] - this.running = pool[kRunning] - this.size = pool[kSize] - } -} - -module.exports = { ClientStats, PoolStats } |
