* Draw items from the stream until it is exhausted. * * This can be useful when the stream has side effects but no output. In * that case, calling this function guarantees that the stream will be * fully processed.
()
| 210 | * fully processed. |
| 211 | */ |
| 212 | async resolveFully(): Promise<void> { |
| 213 | let x = await this.next(); |
| 214 | while (!x.done) { |
| 215 | x = await this.next(); |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * Draw items from the stream until it is exhausted, or a predicate fails. |
nothing calls this directly
no test coverage detected
searching dependent graphs…