Async Streams with IAsyncEnumerable in .NET Core 3
Wednesday, July 31, 2019
One of the most exciting features of .NET Core 3 and C# 8.0 has been the addition of IAsyncEnumerable<T>
(aka async streams). But what's so special about it? What can we do now that wasn't possible before?
In this article, we'll look at what challenges IAsyncEnumerable<T>
is intended to solve, how to implement it in our own applications, and why IAsyncEnumerable<T>
will replace Task<IEnumerable<T>>
in many situations.
Check out all the new features in .NET Core 3
One of the most exciting features of .NET Core 3 and C# 8.0 has been the addition of IAsyncEnumerable<T>
(aka async streams). But what's so special about it? What can we do now that wasn't possible before?
In this article, we'll look at what challenges IAsyncEnumerable<T>
is intended to solve, how to implement it in our own applications, and why IAsyncEnumerable<T>
will replace Task<IEnumerable<T>>
in many situations.
Check out all the new features in .NET Core 3