Table of Contents

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

data ReadOnlyMemory<T>

Data to write to the underlying destination. May be empty

isFinalWrite bool

Whether this is the final write

cancellationToken CancellationToken

Cancellation 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