UNPKG

claude-flow

Version:

Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)

22 lines (21 loc) 463 B
import { IBreaker } from './Breaker.js'; export declare class ConsecutiveBreaker implements IBreaker { private readonly threshold; /** * @inheritdoc */ state: number; /** * ConsecutiveBreaker breaks if more than `threshold` exceptions are received * over a time period. */ constructor(threshold: number); /** * @inheritdoc */ constructor(): void; /** * @inheritdoc */ constructor(): boolean; }