MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / insertUpdateIntoQueue

Function insertUpdateIntoQueue

code/composition/public/app.js:8030–8042  ·  view source on GitHub ↗
(queue, update)

Source from the content-addressed store, hash-verified

8028}
8029
8030function insertUpdateIntoQueue(queue, update) {
8031 // Append the update to the end of the list.
8032 if (queue.last === null) {
8033 // Queue is empty
8034 queue.first = queue.last = update;
8035 } else {
8036 queue.last.next = update;
8037 queue.last = update;
8038 }
8039 if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) {
8040 queue.expirationTime = update.expirationTime;
8041 }
8042}
8043
8044var q1 = void 0;
8045var q2 = void 0;

Callers 1

insertUpdateIntoFiberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected