(err: any)
| 72 | } |
| 73 | |
| 74 | async throw(err: any): Promise<IteratorResult<T, TReturn>> { |
| 75 | this.#isDone = true |
| 76 | if (!this.#isExecuteComplete) { |
| 77 | this.#isExecuteComplete = true |
| 78 | await this.#cleanup('throw') |
| 79 | } |
| 80 | |
| 81 | throw err |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * asyncDispose symbol only available in esnext, we should fallback to Symbol.for('asyncDispose') |
no outgoing calls
no test coverage detected