@coherenceplatform/sdk
Version:
Coherence SDK for embedding AI-powered chat into your applications
11 lines • 382 B
TypeScript
export class RetryHandler {
constructor(config?: {});
maxRetries: any;
initialDelay: any;
backoffMultiplier: any;
executeWithRetry(fn: any, context?: {}): Promise<any>;
shouldRetry(error: any, context: any, retryCount: any): boolean;
calculateDelay(retryCount: any): number;
delay(ms: any): Promise<any>;
}
//# sourceMappingURL=retry-handler.d.ts.map