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

Function createUpdateQueue

code/one-direction-data-flow/public/app.js:7748–7763  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

7746
7747
7748function createUpdateQueue(baseState) {
7749 var queue = {
7750 baseState: baseState,
7751 expirationTime: NoWork,
7752 first: null,
7753 last: null,
7754 callbackList: null,
7755 hasForceUpdate: false,
7756 isInitialized: false,
7757 capturedValues: null
7758 };
7759 {
7760 queue.isProcessing = false;
7761 }
7762 return queue;
7763}
7764
7765function insertUpdateIntoQueue(queue, update) {
7766 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected