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

Function createUpdateQueue

code/controlled-uncontrolled/public/app.js:7199–7214  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

7197
7198
7199function createUpdateQueue(baseState) {
7200 var queue = {
7201 baseState: baseState,
7202 expirationTime: NoWork,
7203 first: null,
7204 last: null,
7205 callbackList: null,
7206 hasForceUpdate: false,
7207 isInitialized: false,
7208 capturedValues: null
7209 };
7210 {
7211 queue.isProcessing = false;
7212 }
7213 return queue;
7214}
7215
7216function insertUpdateIntoQueue(queue, update) {
7217 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected