Signalr typescript client provide stream to AsyncGenerator in additional to IStreamResult<T> #47840
Open
1 task done
Labels
area-signalr
Includes: SignalR clients and servers
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
I am trying to use
signalr
client, but found that it returns AsyncGenerator, which not very easy to use in modern APIs likefor await
:Describe the solution you'd like
A new api that returns AsyncGenerator:
so I can using
for await
to execute this streamAsync result:Additional context
No response
The text was updated successfully, but these errors were encountered: