()
| 622 | } |
| 623 | |
| 624 | endSync() { |
| 625 | const result = this.#queue.end(); |
| 626 | if (result === -2) return -1; // Errored |
| 627 | if (result === -3) return -1; // Buffer not empty, can't wait |
| 628 | return result; |
| 629 | } |
| 630 | |
| 631 | fail(reason) { |
| 632 | this.#queue.fail(arguments.length === 0 ? kNoFailReason : reason); |
no test coverage detected