IAsyncEnumerable support in Azure Functions V3
Open
feature
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
Hi!
In order to return data in a stream and being more memory friendly it would be fantastic if the AF could support IAsyncEnumerable return. Example:
[FunctionName("Function1")]
public static async IAsyncEnumerable Run(
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequest req,
ILogger log)
{
log.LogInformation("C# HTTP trigger function processed a request.");
for (var i = 0; i < 10; i++)
{
yield return i;
}
}
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.