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

Function scheduleCallback

docs/external/js/react-dom.development.js:11176–11179  ·  view source on GitHub ↗
(reactPriorityLevel, callback, options)

Source from the content-addressed store, hash-verified

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);
11179 }
11180 function scheduleSyncCallback(callback) {
11181 // Push this callback into an internal queue. We'll flush these either in
11182 // the next tick, or earlier if something calls `flushSyncCallbackQueue`.

Callers 4

ensureRootIsScheduledFunction · 0.85

Calls 1

Tested by

no test coverage detected