()
| 52763 | var currentQueue; |
| 52764 | var queueIndex = -1; |
| 52765 | function cleanUpNextTick() { |
| 52766 | if (!draining || !currentQueue) return; |
| 52767 | draining = false; |
| 52768 | if (currentQueue.length) queue = currentQueue.concat(queue); |
| 52769 | else queueIndex = -1; |
| 52770 | if (queue.length) drainQueue(); |
| 52771 | } |
| 52772 | function drainQueue() { |
| 52773 | if (draining) return; |
| 52774 | var timeout = runTimeout(cleanUpNextTick); |
nothing calls this directly
no test coverage detected