Mosquito

Results 223 comments of Mosquito

Shutting down in asyncio is really not easy. In generic case I prefer to use [entrypoint helper](https://github.com/mosquito/aiomisc/blob/master/README.rst#entrypoint) from aiomisc library. Othervise you have to do it yourself or use asyncio.run...

Please use recommended way to run blocking IO with asyncio https://docs.python.org/3.10/library/asyncio-task.html#running-in-threads

What kind of support do you mean? It is already supported.

Do you want to contribute it?

Do not block the event loop, use loop.run_in_executor for processing your messages. Python can’t send a heartbeat frame.

Nope. `await loop.run_in_executor(None, transform_handler, body)`