Azure / Azure/azure-functions-dotnet-worker

Add support for using IAsyncEnumerable<T> as the return type of functions

Open
#773 3 comments 7 reactions 0 assignees View on GitHub
blocked team-issue
Dominant language
C#
Stars
466
Forks
215
Avg merge
3d 10h
Merged PRs (30d)
7

Description

Add support for using `IAsyncEnumerable` as the return type of functions. Currently this is not supported.

Example usage

````
[Function("Function1")]
public IAsyncEnumerable GetData([HttpTrigger(AuthorizationLevel.Anonymous, "get")] HttpRequestData request)
{
IAsyncEnumerable asyncStream = GetProductsAsAsyncEnumerable();

return asyncStream;
}
````

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the worker's function return-type handling and determine how the provided IAsyncEnumerable example should be supported; done means that example is accepted and functions can return IAsyncEnumerable.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.