MCPcopy Index your code
hub / github.com/microsoft/SandDance / createUpdate

Function createUpdate

docs/external/js/react-dom.development.js:12310–12326  ·  view source on GitHub ↗
(expirationTime, suspenseConfig)

Source from the content-addressed store, hash-verified

12308 }
12309 }
12310 function createUpdate(expirationTime, suspenseConfig) {
12311 var update = {
12312 expirationTime: expirationTime,
12313 suspenseConfig: suspenseConfig,
12314 tag: UpdateState,
12315 payload: null,
12316 callback: null,
12317 next: null
12318 };
12319 update.next = update;
12320
12321 {
12322 update.priority = getCurrentPriorityLevel();
12323 }
12324
12325 return update;
12326 }
12327 function enqueueUpdate(fiber, update) {
12328 var updateQueue = fiber.updateQueue;
12329

Callers 6

propagateContextChangeFunction · 0.85
createRootErrorUpdateFunction · 0.85
createClassErrorUpdateFunction · 0.85
throwExceptionFunction · 0.85
updateContainerFunction · 0.85

Calls 1

getCurrentPriorityLevelFunction · 0.85

Tested by

no test coverage detected