MCPcopy Index your code
hub / github.com/nodejs/node / pollLowPollingIntervalQueue

Function pollLowPollingIntervalQueue

test/fixtures/snapshot/typescript.js:6295–6305  ·  view source on GitHub ↗
(queue)

Source from the content-addressed store, hash-verified

6293 }
6294 }
6295 function pollLowPollingIntervalQueue(queue) {
6296 // Always poll complete list of changedFilesInLastPoll
6297 pollQueue(changedFilesInLastPoll, PollingInterval.Low, /*pollIndex*/ 0, changedFilesInLastPoll.length);
6298 // Finally do the actual polling of the queue
6299 pollPollingIntervalQueue(queue);
6300 // Schedule poll if there are files in changedFilesInLastPoll but no files in the actual queue
6301 // as pollPollingIntervalQueue wont schedule for next poll
6302 if (!queue.pollScheduled && changedFilesInLastPoll.length) {
6303 scheduleNextPoll(PollingInterval.Low);
6304 }
6305 }
6306 function pollQueue(queue, pollingInterval, pollIndex, chunkSize) {
6307 return pollWatchedFileQueue(host, queue, pollIndex, chunkSize, onWatchFileStat);
6308 function onWatchFileStat(watchedFile, pollIndex, fileChanged) {

Callers

nothing calls this directly

Calls 3

pollQueueFunction · 0.85
pollPollingIntervalQueueFunction · 0.85
scheduleNextPollFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…