UNPKG

claude-flow

Version:

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

24 lines (23 loc) 642 B
/** * A generic type that returns backoff intervals. */ export interface IBackoffFactory<T> { /** * Returns the first backoff duration. */ constructor(context: T): IBackoff<T>; } /** * A generic type that returns backoff intervals. */ export interface IBackoff<T> extends IBackoffFactory<T> { /** * Returns the number of milliseconds to wait for this backoff attempt. */ readonly duration: number; } export * from './ConstantBackoff.js'; export * from './DelegateBackoff.js'; export * from './ExponentialBackoff.js'; export * from './ExponentialBackoffGenerators.js'; export * from './IterableBackoff.js';