private void Read(BlockReader reader) { while (!_isCancelled && reader.Read(out Block block)) { _readBlockQueue.Enqueue(block); } _readBlockQueue.Close(); reader.Dispose(); }
public ValueTask DisposeAsync() { _blockReader?.Dispose(); _tableFile.ReleaseIterator(); return(default);