FetchNext
FetchNext is a generic term in software development describing a function, method, or command that retrieves the next unit of data from a source. It is commonly used in three contexts: iteration, pagination, and streaming.
In iteration, FetchNext advances the internal cursor of an iterator and returns the next item, signaling end
Usage: In many languages, FetchNext is invoked in a loop until a completion condition is reached. In
Implementation notes: FetchNext can be implemented as part of an iterator interface, a streaming API, or a
See also: Next, GetNext, Iterator protocol, Pagination, Cursor, Backpressure.