Send message immediately.
I have same issues:
> I have to do some complicated computing between sending messages, but first message is sent with second after compulting. How I can send it immediately?

[http://stackoverflow.com/questions/30753763/ratchet-websocket-send-message-immediately#](url)
But, when I update code as your answer (copy your code). It's not still send immediately.
I am sorry for having bothered you.
