Delegate Csv.AsyncParallelSink<T>
- Namespace
- FlameCsv
- Assembly
- FlameCsv.Core.dll
Delegate for writing data asynchronously for parallel workloads.
This delegate is called sequentially, and does not need to be thread-safe.
public delegate ValueTask Csv.AsyncParallelSink<T>(ReadOnlyMemory<T> data, bool isFinalWrite, CancellationToken cancellationToken) where T : unmanaged, IBinaryInteger<T>
Parameters
dataReadOnlyMemory<T>Data to write to the underlying destination. May be empty
isFinalWriteboolWhether this is the final write
cancellationTokenCancellationTokenCancellation token to observe
Returns
- ValueTask
- Delegate for writing data asynchronously for parallel workloads. This delegate is called sequentially, and does not need to be thread-safe.
Type Parameters
T