Method ReadAllAsync
- Namespace
- AvroSharp.Containers
- Assembly
- AvroSharp.dll
ReadAllAsync(CancellationToken)
Reads the remaining objects, reading each block from the stream asynchronously.
public IAsyncEnumerable<T> ReadAllAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancels reading.
Returns
Exceptions
- AvroDataException
A block is malformed or truncated.