MyRepo-Ums/node_modules/socket.io-client/build/cjs/contrib/backo2.d.ts
2024-01-19 11:09:11 +01:00

13 lines
260 B
TypeScript

/**
* Initialize backoff timer with `opts`.
*
* - `min` initial timeout in milliseconds [100]
* - `max` max timeout [10000]
* - `jitter` [0]
* - `factor` [2]
*
* @param {Object} opts
* @api public
*/
export declare function Backoff(opts: any): void;