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

Function createUpdateQueue

code/redux/public/app.js:8126–8141  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

8124
8125
8126function createUpdateQueue(baseState) {
8127 var queue = {
8128 baseState: baseState,
8129 expirationTime: NoWork,
8130 first: null,
8131 last: null,
8132 callbackList: null,
8133 hasForceUpdate: false,
8134 isInitialized: false,
8135 capturedValues: null
8136 };
8137 {
8138 queue.isProcessing = false;
8139 }
8140 return queue;
8141}
8142
8143function insertUpdateIntoQueue(queue, update) {
8144 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected