(baseState)
| 8124 | |
| 8125 | |
| 8126 | function createUpdateQueue(baseState) { |
| 8127 | var queue = { |
| 8128 | baseState: baseState, |
| 8129 | expirationTime: NoWork, |
| 8130 | first: null, |
| 8131 | last: null, |
| 8132 | callbackList: null, |
| 8133 | hasForceUpdate: false, |
| 8134 | isInitialized: false, |
| 8135 | capturedValues: null |
| 8136 | }; |
| 8137 | { |
| 8138 | queue.isProcessing = false; |
| 8139 | } |
| 8140 | return queue; |
| 8141 | } |
| 8142 | |
| 8143 | function insertUpdateIntoQueue(queue, update) { |
| 8144 | // Append the update to the end of the list. |
no outgoing calls
no test coverage detected