eclipse-paho / eclipse-paho/paho.mqtt.python
Programmatically way to determine if paho-mqtt processes queue is empty?
Open
Status: Available
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 742
- Avg merge
- 12d 48m
- Merged PRs (30d)
- 1
Description
Programmatically way to determine if paho-mqtt processes queue completed? For example, if I call client.disconnect(), the on_disconnect call back may need a bit more time to complete, is there a way I can test for this?
Contributor guide
Research direction
Start by tracing client.disconnect() and the on_disconnect callback behavior in the client implementation. Determine how queued work and callback completion are represented, then define a documented, programmatic signal for completion and verify it with focused tests for disconnect timing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100