IAsyncEnumerable<T>

A .NET interface for a sequence whose items arrive over time, consumed with await foreach.

In more detail

It is how an API streams many rows without buffering them all in memory; EF Core exposes it through AsAsyncEnumerable. Write one with an async method that uses yield return.

Related terms

Taught in

References