Executes callback through circuit breaker.
If breaker is OPEN, callback is not executed and Result.error(...) is returned. Callback must explicitly return Result.ok(...) or Result.error(...), and breaker updates counters based on result state.
| fn |
callback to execute. |
|
callback Result, or error Result when short-circuited. |