()
| 127 | } |
| 128 | |
| 129 | getState() { |
| 130 | return { |
| 131 | queuedWork: this.queue.map((work) => work.type), |
| 132 | queueLength: this.queue.length, |
| 133 | runningWork: this.running, |
| 134 | workRunningCount: this.running.length, |
| 135 | }; |
| 136 | } |
| 137 | |
| 138 | private isWorking() { |
| 139 | const state = this.getState(); |
no outgoing calls
no test coverage detected