UNPKG

apx-toolkit

Version:

Automatically discover APIs and generate complete integration packages: code in 12 languages, TypeScript types, test suites, SDK packages, API documentation, mock servers, performance reports, and contract tests. Saves 2-4 weeks of work in seconds.

20 lines 569 B
/** * Retry Logic with Exponential Backoff * Improves reliability and user experience */ export interface RetryOptions { maxAttempts?: number; initialDelay?: number; maxDelay?: number; backoffMultiplier?: number; retryableErrors?: string[]; } /** * Retries a function with exponential backoff */ export declare function retryWithBackoff<T>(fn: () => Promise<T>, options?: RetryOptions): Promise<T>; /** * Checks if an error is retryable */ export declare function isRetryableError(error: unknown): boolean; //# sourceMappingURL=retry.d.ts.map