(fn, times, cb)
| 18 | )); |
| 19 | |
| 20 | function asyncLoop(fn, times, cb) { |
| 21 | fn(function handler() { |
| 22 | if (--times) { |
| 23 | setTimeout(() => fn(handler), common.platformTimeout(10)); |
| 24 | } else { |
| 25 | cb(); |
| 26 | } |
| 27 | }); |
| 28 | } |
| 29 | |
| 30 | function makeKeepAliveRequest(cb) { |
| 31 | http.get({ |
no test coverage detected
searching dependent graphs…