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

Function pollPollingIntervalQueue

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

Source from the content-addressed store, hash-verified

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);

Callers 1

Calls 3

pollQueueFunction · 0.85
scheduleNextPollFunction · 0.85
assertMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…