Why do you need to do such thing?
Since Mauro is not online at the moment and I'm interested in the topic, I try to "answer for him".
You could only use the server as such, i.e. as a data provider. In this case, the processing should be done on the clients but in some (many) cases this is not good (especially because a hacker could modify the client code).
When, on the other hand, most of the processing takes place on the server, it is not possible to find a way to exploit the "websocket threads" by "delegating" the processing to them (or in any case I could not find the best solution for this).
If you delegate the processing to the "websocket threads" then it is difficult or perhaps impossible that you are able to manage well processing sequences that concern a group of clients (websockets).
Difficult to explain, I hope it is enough.