next

abstract suspend fun next(): ColibrioResult<SearchResultItem?>

Takes the next item from this iterator. This method will return null if no more items are available.

Example:

val item = iterator.next()
if (item == null) {
// End of iterator reached.
}