Closed lzszt closed 2 years ago
This looks wrong to me. My recollection is that sending the response finishes the interaction -- so you can only send the response after you finish sending the streaming results.
Thank you, this seems to have fixed to problem.
I'm trying to implement a server, which spawns an asynchronous action. I then call
send
function from within thisasync
block. This results in the server crashing with various errors:The server implementation looks like this:
Am I doing something wrong? Or is the use async in this context not supported?