You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation of this function here doesn't mention how it blocks execution, until a message is received from the websocket. This can cause confusion.
The text was updated successfully, but these errors were encountered:
Hi i know this question is a bit old but i was wondering the same. So far i found out that receiveDataMessage doesn't block "especially". Yes it's recursive for control message but a normal message it returns. It does block the same receive and receiveData blocks.
has it's own "blocking" going on with forever. That seems to be just a design choice of this library that you have to create your own loops. I'm not sure how you would break out of that forever loop, possibly after closing the connection either the receive or send function will throw an exception. (i assume but didn't test).
The documentation of this function here doesn't mention how it blocks execution, until a message is received from the websocket. This can cause confusion.
The text was updated successfully, but these errors were encountered: