Following up on previous async types question since apparently he was looking for IAsyncEnumerable: How do you use IAsyncEnumerable
Sigiloso
When returning IAsyncEnumerable, you use the yield keyword to return one data as it is available. In the consuming code you await foreach to process each result as it is available