您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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