code: def _startNextChunk(self) -> None:
          
          if self.currentChunk is None:
              self._useLatestChunk()
          else:
              self._useChunk(self.currentChunkIndex + self.chunkSize)
docs: Close current and start next chunk