()
| 6237 | // Return next poll index |
| 6238 | return pollIndex; |
| 6239 | function nextPollIndex() { |
| 6240 | pollIndex++; |
| 6241 | if (pollIndex === queue.length) { |
| 6242 | if (definedValueCopyToIndex < pollIndex) { |
| 6243 | // There are holes from definedValueCopyToIndex to end of queue, change queue size |
| 6244 | queue.length = definedValueCopyToIndex; |
| 6245 | } |
| 6246 | pollIndex = 0; |
| 6247 | definedValueCopyToIndex = 0; |
| 6248 | } |
| 6249 | } |
| 6250 | } |
| 6251 | /* @internal */ |
| 6252 | function createDynamicPriorityPollingWatchFile(host) { |
no outgoing calls
no test coverage detected