code: protected ResultQueueEntry<FlatRow> getNext() throws IOException {
      ResultQueueEntry<FlatRow> queueEntry;
      try {
        queueEntry = resultQueue.take();
        // Should never happen
        if (queueEntry == null) {
          throw new IllegalStateException("Timed out awaiting next sync rows");
        }
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
        throw new IOException("Interrupted while waiting for next result", e);
      }
  
      return queueEntry;
    }
docs: <p>getNext.</p>
  
  @return a {@link com.google.cloud.bigtable.grpc.scanner.ResultQueueEntry} object.
  @throws java.io.IOException if any.