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

Function createUpdateQueue

code/styling/public/app.js:7875–7890  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

7873
7874
7875function createUpdateQueue(baseState) {
7876 var queue = {
7877 baseState: baseState,
7878 expirationTime: NoWork,
7879 first: null,
7880 last: null,
7881 callbackList: null,
7882 hasForceUpdate: false,
7883 isInitialized: false,
7884 capturedValues: null
7885 };
7886 {
7887 queue.isProcessing = false;
7888 }
7889 return queue;
7890}
7891
7892function insertUpdateIntoQueue(queue, update) {
7893 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected