backo2.d.ts 260 B

123456789101112
  1. /**
  2. * Initialize backoff timer with `opts`.
  3. *
  4. * - `min` initial timeout in milliseconds [100]
  5. * - `max` max timeout [10000]
  6. * - `jitter` [0]
  7. * - `factor` [2]
  8. *
  9. * @param {Object} opts
  10. * @api public
  11. */
  12. export declare function Backoff(opts: any): void;