(state)
| 15563 | } |
| 15564 | |
| 15565 | function scheduleProcessQueue(state) { |
| 15566 | if (state.processScheduled || !state.pending) return; |
| 15567 | state.processScheduled = true; |
| 15568 | nextTick(function() { processQueue(state); }); |
| 15569 | } |
| 15570 | |
| 15571 | function Deferred() { |
| 15572 | this.promise = new Promise(); |
no test coverage detected