calculate-retry-delay.d.ts 297 B

12345
  1. import { RetryFunction } from '.';
  2. declare type Returns<T extends (...args: any) => unknown, V> = (...args: Parameters<T>) => V;
  3. export declare const retryAfterStatusCodes: ReadonlySet<number>;
  4. declare const calculateRetryDelay: Returns<RetryFunction, number>;
  5. export default calculateRetryDelay;