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

Function workLoopConcurrent

docs/external/js/react-dom.development.js:22271–22276  ·  view source on GitHub ↗

@noinline

()

Source from the content-addressed store, hash-verified

22269
22270
22271 function workLoopConcurrent() {
22272 // Perform work until Scheduler asks us to yield
22273 while (workInProgress !== null && !shouldYield()) {
22274 workInProgress = performUnitOfWork(workInProgress);
22275 }
22276 }
22277
22278 function performUnitOfWork(unitOfWork) {
22279 // The current, flushed, state of this fiber is the alternate. Ideally

Callers 1

Calls 1

performUnitOfWorkFunction · 0.85

Tested by

no test coverage detected