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

Function markTaskCanceled

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

Source from the content-addressed store, hash-verified

2432 }
2433 }
2434 function markTaskCanceled(task, ms) {
2435 {
2436 profilingState[QUEUE_SIZE]--;
2437
2438 if (eventLog !== null) {
2439 logEvent([TaskCancelEvent, ms * 1000, task.id]);
2440 }
2441 }
2442 }
2443 function markTaskErrored(task, ms) {
2444 {
2445 profilingState[PRIORITY] = NoPriority;

Callers 1

unstable_cancelCallbackFunction · 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…