MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / insertUpdateIntoQueue

Function insertUpdateIntoQueue

code/styling/public/app.js:7892–7904  ·  view source on GitHub ↗
(queue, update)

Source from the content-addressed store, hash-verified

7890}
7891
7892function insertUpdateIntoQueue(queue, update) {
7893 // Append the update to the end of the list.
7894 if (queue.last === null) {
7895 // Queue is empty
7896 queue.first = queue.last = update;
7897 } else {
7898 queue.last.next = update;
7899 queue.last = update;
7900 }
7901 if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) {
7902 queue.expirationTime = update.expirationTime;
7903 }
7904}
7905
7906var q1 = void 0;
7907var q2 = void 0;

Callers 1

insertUpdateIntoFiberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected