sljavad
❔ cannot use InvokeAsync when streaming in signalR
FYI, i opened an issue for this
you can follow it on github
https://github.com/dotnet/aspnetcore/issues/46503
8 replies
❔ cannot use InvokeAsync when streaming in signalR
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.8 replies