MCPcopy
hub / github.com/plotly/dash / markTaskCompleted

Function markTaskCompleted

dash/deps/react@16.14.0.js:2423–2433  ·  view source on GitHub ↗
(task, ms)

Source from the content-addressed store, hash-verified

2421 }
2422 }
2423 function markTaskCompleted(task, ms) {
2424 {
2425 profilingState[PRIORITY] = NoPriority;
2426 profilingState[CURRENT_TASK_ID] = 0;
2427 profilingState[QUEUE_SIZE]--;
2428
2429 if (eventLog !== null) {
2430 logEvent([TaskCompleteEvent, ms * 1000, task.id]);
2431 }
2432 }
2433 }
2434 function markTaskCanceled(task, ms) {
2435 {
2436 profilingState[QUEUE_SIZE]--;

Callers 1

workLoopFunction · 0.85

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…