Beispiel #1
0
        private void Write(BlockWriter writer)
        {
            while (!_isCancelled && _writeBlockQueue.TryDequeue(out Block block))
            {
                writer.Write(block);
            }

            writer.Dispose();
        }