aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/undici/lib/dispatcher/pool-stats.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--node_modules/undici/lib/dispatcher/pool-stats.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/node_modules/undici/lib/dispatcher/pool-stats.js b/node_modules/undici/lib/dispatcher/pool-stats.js
deleted file mode 100644
index 8c7e8c9..0000000
--- a/node_modules/undici/lib/dispatcher/pool-stats.js
+++ /dev/null
@@ -1,34 +0,0 @@
-const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('../core/symbols')
-const kPool = Symbol('pool')
-
-class PoolStats {
- constructor (pool) {
- this[kPool] = pool
- }
-
- get connected () {
- return this[kPool][kConnected]
- }
-
- get free () {
- return this[kPool][kFree]
- }
-
- get pending () {
- return this[kPool][kPending]
- }
-
- get queued () {
- return this[kPool][kQueued]
- }
-
- get running () {
- return this[kPool][kRunning]
- }
-
- get size () {
- return this[kPool][kSize]
- }
-}
-
-module.exports = PoolStats