(value?: any)
| 62 | } |
| 63 | |
| 64 | async return(value?: any): Promise<IteratorResult<T, TReturn>> { |
| 65 | this.#isDone = true |
| 66 | if (!this.#isExecuteComplete) { |
| 67 | this.#isExecuteComplete = true |
| 68 | await this.#cleanup('return') |
| 69 | } |
| 70 | |
| 71 | return { done: true, value } |
| 72 | } |
| 73 | |
| 74 | async throw(err: any): Promise<IteratorResult<T, TReturn>> { |
| 75 | this.#isDone = true |
no outgoing calls
no test coverage detected