MCPcopy Index your code
hub / github.com/tensorflow/tfjs / resolveFully

Function resolveFully

tfjs-data/src/iterators/lazy_iterator.ts:212–217  ·  view source on GitHub ↗

* 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.

()

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…