CircuitStateChanged

Emitted when the circuit breaker changes its state.

This event provides information about the transition from one state to another, allowing for monitoring of the circuit breaker's behavior.

Constructors

Link copied to clipboard
constructor(from: CircuitState, to: CircuitState)

Properties

Link copied to clipboard

The previous state of the circuit breaker.

Link copied to clipboard

The new, current state of the circuit breaker.