Pergunta de entrevista da empresa Finys

Following up on previous async types question since apparently he was looking for IAsyncEnumerable: How do you use IAsyncEnumerable

Resposta da entrevista

Sigiloso

12 de abr. de 2025

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