Module mqtt.loop.ioloop
IOloop specific client handling module.
Typically this module is not used directly, but through mqtt.loop when auto-detecting the environment.
Functions
add (client) | Add MQTT client to the integrated ioloop. |
Functions
- add (client)
-
Add MQTT client to the integrated ioloop.
The client will automatically be removed after it exits. It will set up a
function to call Client:check_keep_alive in the ioloop.
Parameters:
- client mqtt-client to add to the ioloop
Returns:
true
on success orfalse
and error message on failure