The caller's breaker state, when the breaker is enabled.
The resolved request options, for the onCircuitClose hook.
The request context, for the onCircuitClose hook.
The upstream host scope, for the onCircuitClose hook.
Nothing; mutates the breaker state in place.
Resets the failure streak after a successful attempt. When the success is the reserved post-cooldown probe, clears the half-open state and closes the breaker, emitting
onCircuitCloseso dashboards can plot recovery. Closing also resets the failed-probe counter, so the next open period starts from the configured cooldown again instead of inheriting the previous period's probe backoff.