UNPKG

dnsweeper

Version:

Advanced CLI tool for DNS record risk analysis and cleanup. Features CSV import for Cloudflare/Route53, automated risk assessment, and parallel DNS validation.

16 lines 567 B
export interface RetryOptions { maxAttempts?: number; delay?: number; backoff?: 'linear' | 'exponential'; maxDelay?: number; onRetry?: (attempt: number, error: unknown) => void; } /** * リトライ機能を提供するユーティリティ */ export declare function withRetry<T>(fn: () => Promise<T>, options?: RetryOptions): Promise<T>; /** * タイムアウト付きで関数を実行 */ export declare function withTimeout<T>(fn: () => Promise<T>, timeoutMs: number, errorMessage?: string): Promise<T>; //# sourceMappingURL=retry.d.ts.map