MCPcopy Index your code
hub / github.com/apache/echarts / flushIntervalHandlers

Function flushIntervalHandlers

test/runTest/runtime/timeline.js:138–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138function flushIntervalHandlers() {
139 // Copy the array. In case setInterval/clearInterval is invoked in the callback.
140 const savedIntervalHandlers = intervalHandlers.slice();
141 for (let i = 0; i < savedIntervalHandlers.length; i++) {
142 const handler = savedIntervalHandlers[i];
143 if (handler.frame === frameIdx) {
144 try {
145 handler.callback();
146 }
147 catch (e) {
148 // Catch error to avoid following tasks.
149 __VRT_LOG_ERRORS__(e.toString());
150 }
151 handler.frame += handler.intervalFrame;
152 }
153 }
154}
155
156/** Mock Date */
157

Callers 1

runFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…