Async and threads isn't a problem. Just run the async event loop in only one of 
the threads for the websocket server.

That being said: you should avoid threads as much as you can. They make your 
code more complex and it's very difficult to use them for efficient parallelism 
(you'll end up with lock contention)

Reply via email to