* Reset the batcher's state.
()
| 3025 | */ |
| 3026 | |
| 3027 | function resetBatcherState() { |
| 3028 | queue.length = 0; |
| 3029 | userQueue.length = 0; |
| 3030 | has = {}; |
| 3031 | circular = {}; |
| 3032 | waiting = false; |
| 3033 | } |
| 3034 | |
| 3035 | /** |
| 3036 | * Flush both queues and run the watchers. |