Struct CsvRecordAsyncEnumerable<T>
- Namespace
- FlameCsv.Enumeration
- Assembly
- FlameCsv.Core.dll
Enumerates data asynchronously into CSV records.
public readonly struct CsvRecordAsyncEnumerable<T> : IAsyncEnumerable<CsvRecord<T>> where T : unmanaged, IBinaryInteger<T>
Type Parameters
TToken type
- Implements
Remarks
This type is only intended to be used directly within a await foreach loop.
Using it with async LINQ methods may lead to unexpected behavior and runtime errors.
Methods
GetAsyncEnumerator(CancellationToken)
Returns an enumerator that iterates through the collection.
public CsvRecordEnumerator<T> GetAsyncEnumerator(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
- CsvRecordEnumerator<T>
An enumerator that can be used to iterate through the collection.