(state)
| 13148 | } |
| 13149 | |
| 13150 | function scheduleProcessQueue(state) { |
| 13151 | if (state.processScheduled || !state.pending) return; |
| 13152 | state.processScheduled = true; |
| 13153 | nextTick(function() { processQueue(state); }); |
| 13154 | } |
| 13155 | |
| 13156 | function Deferred() { |
| 13157 | this.promise = new Promise(); |
no test coverage detected