ICircuitBreaker.execute<T>(fn: ResilientCall<T>): Promise<T>
Executes a call through the breaker.
fn: ResilientCall<T>
The protected call, handed the cancellation signal for this attempt
Promise<T>
The call result
ICircuitBreaker.execute<T>(fn: ResilientCall<T>): Promise<T>
Executes a call through the breaker.
fn: ResilientCall<T>
The protected call, handed the cancellation signal for this attempt
Promise<T>
The call result
import { type ICircuitBreaker } from "common/src/index.ts";