[botframework-streaming] Race condition: requests missed when server respond quickly #4460
Labels
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Versions
What package version of the SDK are you using.
main
What nodejs version are you using
19
What browser version are you using
Unrelated
What os are you using
Unrelated
Describe the bug
When sending a request, if the processor respond quickly, the request may not be resolved. This is because they are queued up a bit too late.
To Reproduce
WebSocketServer
andNodeWebSocketClient
and connect them togetherawait nodeWebSocketClient.send()
Expected behavior
The
send()
call should resolve.Instead, the
send()
call is never resolved/rejected.Screenshots
Additional context
The text was updated successfully, but these errors were encountered: