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

Function createUpdateQueue

code/communication/public/app.js:7910–7925  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

7908
7909
7910function createUpdateQueue(baseState) {
7911 var queue = {
7912 baseState: baseState,
7913 expirationTime: NoWork,
7914 first: null,
7915 last: null,
7916 callbackList: null,
7917 hasForceUpdate: false,
7918 isInitialized: false,
7919 capturedValues: null
7920 };
7921 {
7922 queue.isProcessing = false;
7923 }
7924 return queue;
7925}
7926
7927function insertUpdateIntoQueue(queue, update) {
7928 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected