MCPcopy Create free account
hub / github.com/microsoft/SandDance / markTaskErrored

Function markTaskErrored

docs/external/js/react.development.js:2443–2453  ·  view source on GitHub ↗
(task, ms)

Source from the content-addressed store, hash-verified

2441 }
2442 }
2443 function markTaskErrored(task, ms) {
2444 {
2445 profilingState[PRIORITY] = NoPriority;
2446 profilingState[CURRENT_TASK_ID] = 0;
2447 profilingState[QUEUE_SIZE]--;
2448
2449 if (eventLog !== null) {
2450 logEvent([TaskErrorEvent, ms * 1000, task.id]);
2451 }
2452 }
2453 }
2454 function markTaskRun(task, ms) {
2455 {
2456 runIdCounter++;

Callers 1

flushWorkFunction · 0.85

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected