* Waits for all jobs. * * @throws {unknown} The first failure of any job
()
| 77 | * @throws {unknown} The first failure of any job |
| 78 | */ |
| 79 | async drain(): Promise<void> { |
| 80 | await this.settle(); |
| 81 | this.throwIfFailed(); |
| 82 | } |
| 83 | |
| 84 | /** Waits for all jobs without reporting failures. */ |
| 85 | async settle(): Promise<void> { |
no test coverage detected