You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ExponentialBackoff.d.ts 406B

12345678910111213141516
  1. interface ExponentialBackoffOptions {
  2. min?: number;
  3. max?: number;
  4. }
  5. export default class ExponentialBackoff {
  6. private readonly ms;
  7. private readonly max;
  8. private readonly factor;
  9. private numAttempts;
  10. constructor(opts?: ExponentialBackoffOptions);
  11. get attempts(): number;
  12. duration(): number;
  13. reset(): void;
  14. }
  15. export {};
  16. //# sourceMappingURL=ExponentialBackoff.d.ts.map