(queue)
| 6282 | return queue; |
| 6283 | } |
| 6284 | function pollPollingIntervalQueue(queue) { |
| 6285 | queue.pollIndex = pollQueue(queue, queue.pollingInterval, queue.pollIndex, pollingChunkSize[queue.pollingInterval]); |
| 6286 | // Set the next polling index and timeout |
| 6287 | if (queue.length) { |
| 6288 | scheduleNextPoll(queue.pollingInterval); |
| 6289 | } |
| 6290 | else { |
| 6291 | ts.Debug.assert(queue.pollIndex === 0); |
| 6292 | queue.pollScheduled = false; |
| 6293 | } |
| 6294 | } |
| 6295 | function pollLowPollingIntervalQueue(queue) { |
| 6296 | // Always poll complete list of changedFilesInLastPoll |
| 6297 | pollQueue(changedFilesInLastPoll, PollingInterval.Low, /*pollIndex*/ 0, changedFilesInLastPoll.length); |
no test coverage detected
searching dependent graphs…