UNPKG

pm2

Version:

Production process manager for Node.JS applications with a built-in load balancer.

24 lines (18 loc) 267 B
'use strict' class Gauge { constructor () { this._value = 0 this._used = false } val () { return this._value } set (value) { this._used = true this._value = value } isUsed () { return this._used } } module.exports = Gauge