Table of Contents

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

cancellationToken CancellationToken

Cancels reading.

Returns

IAsyncEnumerable<T>

Exceptions

AvroDataException

A block is malformed or truncated.