MCPcopy Index your code
hub / github.com/caseywebdev/react-list / runWithPriority

Function runWithPriority

docs/index.js:4301–4308  ·  view source on GitHub ↗
(priority, fn)

Source from the content-addressed store, hash-verified

4299 return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);
4300}
4301function runWithPriority(priority, fn) {
4302 var previousPriority = ReactDOMSharedInternals.p;
4303 try {
4304 return (ReactDOMSharedInternals.p = priority), fn();
4305 } finally {
4306 ReactDOMSharedInternals.p = previousPriority;
4307 }
4308}
4309var randomKey = Math.random().toString(36).slice(2),
4310 internalInstanceKey = "__reactFiber$" + randomKey,
4311 internalPropsKey = "__reactProps$" + randomKey,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…