UNPKG

mcp-search-tools

Version:

MCP server and client for web search and page viewing tools - DuckDuckGo search and web scraping

9 lines 429 B
/** * Exponential backoff with jitter for retry operations * @param fn - Function to execute with retries * @param maxRetries - Maximum number of retry attempts * @param retryDelay - Base delay between attempts in milliseconds * @returns Result of the function execution */ export declare function withRetry<T>(fn: () => Promise<T>, maxRetries?: number, retryDelay?: number): Promise<T>; //# sourceMappingURL=retry.d.ts.map