Closed xenoterracide closed 2 years ago
this is unreadable without looking at the code
this.breakerPolicy.onStateChange(data => this.log.trace('breaker', data))
So I'll have to map it myself, but it would be nice if v3 would change this since in theory it can break backwards compatibility.
nevermind , this does what I want
this.breakerPolicy.onStateChange(data => this.log.trace('breaker', CircuitState[data]))
this is unreadable without looking at the code
So I'll have to map it myself, but it would be nice if v3 would change this since in theory it can break backwards compatibility.