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

carstenk_dev profile image

I don't think it will be more efficient in that sense - it blocks less threads so your server can scale better (await more IO bound operations like the DB calls here)

If you use this for algorithms (CPU bound operations) the runtime will probably be worse (there surely is even more overhead than the one produced by async/awaits state machines)