MCPcopy Create free account
hub / github.com/reactjs/react-rails / markTaskCanceled

Function markTaskCanceled

lib/assets/react-source/development/react.js:3232–3240  ·  view source on GitHub ↗
(task, ms)

Source from the content-addressed store, hash-verified

3230 }
3231 }
3232 function markTaskCanceled(task, ms) {
3233 {
3234 profilingState[QUEUE_SIZE]--;
3235
3236 if (eventLog !== null) {
3237 logEvent([TaskCancelEvent, ms * 1000, task.id]);
3238 }
3239 }
3240 }
3241 function markTaskErrored(task, ms) {
3242 {
3243 profilingState[PRIORITY] = NoPriority;

Callers 1

unstable_cancelCallbackFunction · 0.85

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected