()
| 791 | } |
| 792 | |
| 793 | end(): Promise<void> { |
| 794 | return this.#run(true, () => this.#exchange.endResponse()); |
| 795 | } |
| 796 | |
| 797 | error(error: { message: string; code?: string }): Promise<void> { |
| 798 | return this.#run(true, () => this.#exchange.errorResponse(error)); |