Is IAsyncEnumerable supported as a client result type in SignalR?
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
I am trying to combine [client results](https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0#client-results) with [streaming](https://learn.microsoft.com/en-us/aspnet/core/signalr/streaming?view=aspnetcore-7.0) in SignalR to send a request message from the server to the client and have the client respond with a stream of response messages. Is this currently supported?
For example can I create a ```Hub``` and IClient method ```Task> GetContent()``` and call it from the server on a client?
All the streaming examples I've found in the documentation are initiated by the client rather than the server.
### Describe the solution you'd like
If it's not supported, then I'd like support to be added for returning streaming responses from the client to the server.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.