(fn, times, cb)
| 14 | * @param {Function} cb [description] |
| 15 | */ |
| 16 | export function continuesCall(fn, times, cb) { |
| 17 | if (times) { |
| 18 | fn(); |
| 19 | setTimeout(() => { |
| 20 | continuesCall(fn, times - 1, cb); |
| 21 | }, 1); |
| 22 | } else { |
| 23 | cb(); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | let fakeCache; |
| 28 | /** |
no outgoing calls
no test coverage detected
searching dependent graphs…