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

Function insertUpdateIntoQueue

code/communication/public/app.js:7927–7939  ·  view source on GitHub ↗
(queue, update)

Source from the content-addressed store, hash-verified

7925}
7926
7927function insertUpdateIntoQueue(queue, update) {
7928 // Append the update to the end of the list.
7929 if (queue.last === null) {
7930 // Queue is empty
7931 queue.first = queue.last = update;
7932 } else {
7933 queue.last.next = update;
7934 queue.last = update;
7935 }
7936 if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) {
7937 queue.expirationTime = update.expirationTime;
7938 }
7939}
7940
7941var q1 = void 0;
7942var q2 = void 0;

Callers 1

insertUpdateIntoFiberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected