MCPcopy Index your code
hub / github.com/microsoft/SandDance / runWithPriority$1

Function runWithPriority$1

docs/external/js/react-dom.development.js:11172–11175  ·  view source on GitHub ↗
(reactPriorityLevel, fn)

Source from the content-addressed store, hash-verified

11170 }
11171
11172 function runWithPriority$1(reactPriorityLevel, fn) {
11173 var priorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);
11174 return Scheduler_runWithPriority(priorityLevel, fn);
11175 }
11176 function scheduleCallback(reactPriorityLevel, callback, options) {
11177 var priorityLevel = reactPriorityToSchedulerPriority(reactPriorityLevel);
11178 return Scheduler_scheduleCallback(priorityLevel, callback, options);

Callers 8

startTransitionFunction · 0.85
commitUnmountFunction · 0.85
syncUpdatesFunction · 0.85
discreteUpdates$1Function · 0.85
flushSyncFunction · 0.85
commitRootFunction · 0.85
flushPassiveEffectsFunction · 0.85

Calls 1

Tested by

no test coverage detected