How it Works
The Gatekeeper: Place the IsAvailable action at the start of your integration logic.
IsAvailable
The Feedback Loop: Report successes or failures using the Update action (ideally within your Global Exception Handler to catch timeouts).
Update
The Recovery: Once the Cooldown Period expires, the circuit enters a Half-Open state, cautiously allowing a trial request to see if the service has recovered.