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

Function createUpdateQueue

code/higher-order-components/public/app.js:7869–7884  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

7867
7868
7869function createUpdateQueue(baseState) {
7870 var queue = {
7871 baseState: baseState,
7872 expirationTime: NoWork,
7873 first: null,
7874 last: null,
7875 callbackList: null,
7876 hasForceUpdate: false,
7877 isInitialized: false,
7878 capturedValues: null
7879 };
7880 {
7881 queue.isProcessing = false;
7882 }
7883 return queue;
7884}
7885
7886function insertUpdateIntoQueue(queue, update) {
7887 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected