Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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