❔ cannot use InvokeAsync when streaming in signalR
hi
i have a streaming channel from client to server using
Channel
.
the stream channel closes when i invoke a method in client from server and wait for response.4 Replies
here is my server side code that reads stream:
here is client code that sends stream :
this code will Invoke
StreamHandshake
on the server and waits for response :
StreamHandshake
method in the server side :
my stream channel closes when code reaches to line await Clients.Caller.InvokeAsync<bool>("stream_handshake", "someData", token.Token);
it invokes a method in the client and waits for response , but the porgram will not continue from this line when client returns the response.
here is stream_handshake
listener in client side:
it just return true , but server side will not get it and stream closes.
is this a problem in signalR ?
should i open issue in github ?Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
FYI, i opened an issue for this
you can follow it on github
https://github.com/dotnet/aspnetcore/issues/46503
GitHub
[SignalR] Cannot use InvokeAsync While there is an stream ongoing i...
Is there an existing issue for this? I have searched the existing issues Describe the bug i have an stream from client to server using SignalR. stream channel closes and completes when i invoke a c...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.