(env: Envelope)
| 57 | |
| 58 | fail(error: Error): void { |
| 59 | this.#error = error; |
| 60 | this.#done = true; |
| 61 | this.#wakeDone(); |
| 62 | } |
| 63 | |
| 64 | #wakeDone(): void { |
| 65 | if (this.#wait) { |
| 66 | const waiter = this.#wait; |
| 67 | this.#wait = undefined; |
| 68 | waiter({ value: undefined as never, done: true }); |
| 69 | } |
| 70 | } |
no outgoing calls
no test coverage detected