(state)
| 16707 | } |
| 16708 | |
| 16709 | function scheduleProcessQueue(state) { |
| 16710 | if (state.processScheduled || !state.pending) return; |
| 16711 | state.processScheduled = true; |
| 16712 | nextTick(function() { processQueue(state); }); |
| 16713 | } |
| 16714 | |
| 16715 | function Deferred() { |
| 16716 | this.promise = new Promise(); |
no test coverage detected