(baseState)
| 7234 | |
| 7235 | |
| 7236 | function createUpdateQueue(baseState) { |
| 7237 | var queue = { |
| 7238 | baseState: baseState, |
| 7239 | expirationTime: NoWork, |
| 7240 | first: null, |
| 7241 | last: null, |
| 7242 | callbackList: null, |
| 7243 | hasForceUpdate: false, |
| 7244 | isInitialized: false, |
| 7245 | capturedValues: null |
| 7246 | }; |
| 7247 | { |
| 7248 | queue.isProcessing = false; |
| 7249 | } |
| 7250 | return queue; |
| 7251 | } |
| 7252 | |
| 7253 | function insertUpdateIntoQueue(queue, update) { |
| 7254 | // Append the update to the end of the list. |
no outgoing calls
no test coverage detected