Creates an xbackoff function
The xbackoff function
const getTimeout = xbackoff()getTimeout(0) // 1000getTimeout(1) // 2000getTimeout(2) // 4000
Optional
The xbackoff options
Generated using TypeDoc
Creates an xbackoff function
Returns
The xbackoff function
Example