DEV Community

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

Collapse
 
kralizek profile image
Renato Golia

Does the new interface support on demand pull?

I.e. what happens if the table contains 100 records but the client uses Take(15)?

Collapse
 
tyrrrz profile image
Oleksii Holub • Edited

I.e. what happens if the table contains 100 records but the client uses Take(15)?

The MoveNextAsync method is called 15 times. Wether or not it does something is an implementation detail.