MCPcopy Index your code
hub / github.com/plotly/dash / markTaskRun

Function markTaskRun

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

Source from the content-addressed store, hash-verified

2452 }
2453 }
2454 function markTaskRun(task, ms) {
2455 {
2456 runIdCounter++;
2457 profilingState[PRIORITY] = task.priorityLevel;
2458 profilingState[CURRENT_TASK_ID] = task.id;
2459 profilingState[CURRENT_RUN_ID] = runIdCounter;
2460
2461 if (eventLog !== null) {
2462 logEvent([TaskRunEvent, ms * 1000, task.id, runIdCounter]);
2463 }
2464 }
2465 }
2466 function markTaskYield(task, ms) {
2467 {
2468 profilingState[PRIORITY] = NoPriority;

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…