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

Function createUpdateQueue

code/dependency-injection/public/app.js:7968–7983  ·  view source on GitHub ↗
(baseState)

Source from the content-addressed store, hash-verified

7966
7967
7968function createUpdateQueue(baseState) {
7969 var queue = {
7970 baseState: baseState,
7971 expirationTime: NoWork,
7972 first: null,
7973 last: null,
7974 callbackList: null,
7975 hasForceUpdate: false,
7976 isInitialized: false,
7977 capturedValues: null
7978 };
7979 {
7980 queue.isProcessing = false;
7981 }
7982 return queue;
7983}
7984
7985function insertUpdateIntoQueue(queue, update) {
7986 // Append the update to the end of the list.

Callers 1

ensureUpdateQueuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected