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

Function addTask

test/runTest/task.js:50–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 function addTask() {
51 const param = taskParamsLists[cursor];
52 if (param) {
53 const currentTaskIdx = cursor;
54 runningTaskCount++;
55 createTask(param)
56 .then((res) => finishTask(res, currentTaskIdx))
57 .catch(failTask);
58 cursor++;
59 }
60 }
61
62 for (let i = 0; i < concurrency; i++) {
63 addTask();

Callers 2

processNextFunction · 0.85
runTasksFunction · 0.85

Calls 2

createTaskFunction · 0.85
finishTaskFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…