CircuitBreakerExecuteOptions
import { CircuitBreakerExecuteOptions } from "jsr:@ende/async/unstable-circuit-breaker";interface · experimental
interface CircuitBreakerExecuteOptionsOptions for CircuitBreaker.execute.
Properties
signal
signal?: AbortSignalAn optional abort signal that can be used to cancel the operation
before it starts. If the signal is already aborted when execute is
called, the operation will fail immediately without executing the function.
Note: This only checks the abort status before execution. It does not interrupt an in-progress operation — pass the signal to your async function for that behavior.