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

Function insertUpdateIntoQueue

code/dependency-injection/public/app.js:7985–7997  ·  view source on GitHub ↗
(queue, update)

Source from the content-addressed store, hash-verified

7983}
7984
7985function insertUpdateIntoQueue(queue, update) {
7986 // Append the update to the end of the list.
7987 if (queue.last === null) {
7988 // Queue is empty
7989 queue.first = queue.last = update;
7990 } else {
7991 queue.last.next = update;
7992 queue.last = update;
7993 }
7994 if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) {
7995 queue.expirationTime = update.expirationTime;
7996 }
7997}
7998
7999var q1 = void 0;
8000var q2 = void 0;

Callers 1

insertUpdateIntoFiberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected