Struct CircuitBreakerStateChangedEvent
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Describes a circuit breaker state transition.
public readonly struct CircuitBreakerStateChangedEvent
- Inherited Members
Properties
Context
The triggering execution context. Manual monitor transitions receive a detached context
with StrategyIndex equal to -1.
public KevlarContext Context { get; }
Property Value
From
The state the circuit left.
public CircuitState From { get; }
Property Value
LastException
The exception from the failure that caused the transition, when applicable.
public Exception? LastException { get; }
Property Value
To
The state the circuit entered.
public CircuitState To { get; }