DEV Community

Discussion on: What's the big deal with IAsyncEnumerable<T> in .NET Core 3.0?

Collapse
 
techwatching profile image
Alexandre Nédélec

Nice article, thanks. A thing I wonder when you are using IAsyncEnumerable in controller as you return type of a route. How do you handle the cas where you want to return a NotFoundResult when no items are in the IAsyncEnumerable.