(work)
| 104 | * @return {number} the setTimeout id |
| 105 | */ |
| 106 | let reportingBackoff = function (work) { |
| 107 | // Set reportingBackoff as the lazy-created function. JS Vooodoooo. |
| 108 | reportingBackoff = exponentialBackoff(1.5); |
| 109 | return reportingBackoff(work); |
| 110 | }; |
| 111 | |
| 112 | /** |
| 113 | * Attempts to stringify a value, falling back to String. |
no test coverage detected