(baseState)
| 7106 | |
| 7107 | |
| 7108 | function createUpdateQueue(baseState) { |
| 7109 | var queue = { |
| 7110 | baseState: baseState, |
| 7111 | expirationTime: NoWork, |
| 7112 | first: null, |
| 7113 | last: null, |
| 7114 | callbackList: null, |
| 7115 | hasForceUpdate: false, |
| 7116 | isInitialized: false, |
| 7117 | capturedValues: null |
| 7118 | }; |
| 7119 | { |
| 7120 | queue.isProcessing = false; |
| 7121 | } |
| 7122 | return queue; |
| 7123 | } |
| 7124 | |
| 7125 | function insertUpdateIntoQueue(queue, update) { |
| 7126 | // Append the update to the end of the list. |
no outgoing calls
no test coverage detected