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

Function insertUpdateIntoQueue

code/third-party/public/app.js:7125–7137  ·  view source on GitHub ↗
(queue, update)

Source from the content-addressed store, hash-verified

7123}
7124
7125function insertUpdateIntoQueue(queue, update) {
7126 // Append the update to the end of the list.
7127 if (queue.last === null) {
7128 // Queue is empty
7129 queue.first = queue.last = update;
7130 } else {
7131 queue.last.next = update;
7132 queue.last = update;
7133 }
7134 if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) {
7135 queue.expirationTime = update.expirationTime;
7136 }
7137}
7138
7139var q1 = void 0;
7140var q2 = void 0;

Callers 1

insertUpdateIntoFiberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected