(baseState)
| 8011 | |
| 8012 | |
| 8013 | function createUpdateQueue(baseState) { |
| 8014 | var queue = { |
| 8015 | baseState: baseState, |
| 8016 | expirationTime: NoWork, |
| 8017 | first: null, |
| 8018 | last: null, |
| 8019 | callbackList: null, |
| 8020 | hasForceUpdate: false, |
| 8021 | isInitialized: false, |
| 8022 | capturedValues: null |
| 8023 | }; |
| 8024 | { |
| 8025 | queue.isProcessing = false; |
| 8026 | } |
| 8027 | return queue; |
| 8028 | } |
| 8029 | |
| 8030 | function insertUpdateIntoQueue(queue, update) { |
| 8031 | // Append the update to the end of the list. |
no outgoing calls
no test coverage detected