()
| 2661 | } |
| 2662 | |
| 2663 | execute() { |
| 2664 | var fun; |
| 2665 | if (this.failed) { |
| 2666 | while ((fun = this.queue.shift())) { |
| 2667 | fun(this.failed); |
| 2668 | } |
| 2669 | } else { |
| 2670 | while ((fun = this.queue.shift())) { |
| 2671 | fun(); |
| 2672 | } |
| 2673 | } |
| 2674 | } |
| 2675 | |
| 2676 | fail(err) { |
| 2677 | this.failed = err; |