- public delegate Result<T,string> CircuitFunc<T> ()
Callback executed through circuit breaker.
- public delegate void RetryCallback (int attempt, string reason, int64 delayMillis)
Callback invoked before sleeping for the next retry attempt.
- public delegate bool RetryFunc ()
Callback invoked by retry loop and interpreted as success/failure.
- public delegate bool RetryOnFunc (string reason)
Predicate used to decide whether retry should continue.
- public delegate T RetryResultFunc<T> ()
Callback invoked by retry loop and interpreted as nullable result.
- public delegate Result<bool,Error> RetryVoidFunc ()
Callback invoked by retry loop with Result-style failure contract.
- public delegate void StateChangeCallback (CircuitState from, CircuitState to)
Callback invoked when breaker state changes.