Interface AsyncIterator<T>


  • public interface AsyncIterator<T>
    Asynchronous iterator.
    • Method Detail

      • hasNext

        CompletableFuture<Boolean> hasNext()
        Returns whether the iterator has a next item.
        Returns:
        whether a next item exists in the iterator
      • next

        CompletableFuture<T> next()
        Returns the next item in the iterator.
        Returns:
        the next item in the iterator