Replies: 1 comment 4 replies
-
Acks are sent when the event function returns, so I think I'm either not understanding what you are doing fully, or you are not correctly timing out on the client. Can you share some code to clarify what you have tried? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Flask-Socketio as the backend for an iOS app using Socket.IO-Client-Swift on the client side.
I'd like to test my message timeout logic on the client, so ideally I'd like to have a way of conditionally delaying the server from sending an acknowledgement. I tried putting a sleep in my socketio route but it seems that the ack gets sent before the route logic gets invoked.
Anyone have advice on how I can do this kind of testing?
Beta Was this translation helpful? Give feedback.
All reactions