[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- From: Jos Vos <jos@xxxxxx>
- Date: Sat, 28 Jul 2018 00:25:40 +0200
- Delivered-to: firstname.lastname@example.org
- User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Jul 27, 2018 at 09:26:55PM +0530, saurabh singh wrote:
> I want to use asyncio's loop instead of loop of paho for scaling.
> Is hbmqtt suitable.
I did not want to use hbmqtt, as I want to stay mainstream and not
using an alternative implementation.
You can use asyncio's loop, you have to to use add_reader() and
add_writer for the MQTT socket and in the callback call the
appropriate MQTT actions.
-- Jos Vos <jos@xxxxxx>
-- X/OS Experts in Open Systems BV | Office: +31 20 6938364
-- Amsterdam, The Netherlands | Mobile: +31 6 26216181