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

Function insertUpdateIntoQueue

code/event-handlers/public/app.js:7222–7234  ·  view source on GitHub ↗
(queue, update)

Source from the content-addressed store, hash-verified

7220}
7221
7222function insertUpdateIntoQueue(queue, update) {
7223 // Append the update to the end of the list.
7224 if (queue.last === null) {
7225 // Queue is empty
7226 queue.first = queue.last = update;
7227 } else {
7228 queue.last.next = update;
7229 queue.last = update;
7230 }
7231 if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) {
7232 queue.expirationTime = update.expirationTime;
7233 }
7234}
7235
7236var q1 = void 0;
7237var q2 = void 0;

Callers 1

insertUpdateIntoFiberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected