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

Function createUpdateQueue

code/third-party/public/app.js:7108–7123  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

7106
7107
7108function createUpdateQueue(baseState) {
7109 var queue = {
7110 baseState: baseState,
7111 expirationTime: NoWork,
7112 first: null,
7113 last: null,
7114 callbackList: null,
7115 hasForceUpdate: false,
7116 isInitialized: false,
7117 capturedValues: null
7118 };
7119 {
7120 queue.isProcessing = false;
7121 }
7122 return queue;
7123}
7124
7125function insertUpdateIntoQueue(queue, update) {
7126 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected