ali-ahnaf / ali-ahnaf/echo-of-thoughts-aspnet

Q: IAsyncEnumerable<Story> vs Task<IEnumerable<Story>>

Abierto
#4 0 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
C#
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

`IAsyncEnumerable`: It allows for efficient and asynchronous retrieval of elements, one at a time, without loading the entire collection into memory. It is useful when dealing with large or potentially infinite collections of data.

`Task>`: It is typically used when you want to perform an operation asynchronously and retrieve the entire collection of results once the operation is completed.

the 2nd option is suitable for my current context right?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.