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

Method next

tfjs-data/src/iterators/lazy_iterator.ts:611–616  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

609 }
610
611 async next(): Promise<IteratorResult<T>> {
612 if (this.count++ >= this.maxCount) {
613 return {value: null, done: true};
614 }
615 return this.upstream.next();
616 }
617}
618
619// Note this batch just groups items into row-wise element arrays.

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected