<PackageReference Include="Polly.Core" Version="8.1.0" />

CircuitStateController<T>

Thread-safe controller that holds and manages the circuit breaker state transitions.
public CircuitState CircuitState { get; }

public Exception LastException { get; }

public Outcome<T>? LastHandledOutcome { get; }

public void Dispose()