Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Python MQTT client publish.single/multiple blocks indefinitely?

Hey all, sorry if this is a known issue but is it by design that the publish.single or multiple functions are supposed to block indefinitely?  I noticed the source for them connects, sends messages, and then calls client.loop_forever() so execution never returns back to the caller.  How is a client application supposed to use these functions?

Back to the top