(state)
| 14578 | } |
| 14579 | |
| 14580 | function scheduleProcessQueue(state) { |
| 14581 | if (state.processScheduled || !state.pending) return; |
| 14582 | state.processScheduled = true; |
| 14583 | nextTick(function() { processQueue(state); }); |
| 14584 | } |
| 14585 | |
| 14586 | function Deferred() { |
| 14587 | this.promise = new Promise(); |
no test coverage detected