eclipse-paho / eclipse-paho/paho.mqtt.python

Make AsyncioHelper part of the library proper

Open
#455 2 comments 8 reactions 0 assignees View on GitHub
Type: Enhancement
Dominant language
Python
Stars
2.4k
Forks
742
Avg merge
12d 48m
Merged PRs (30d)
1

Description

The [`AsyncioHelper` class](https://github.com/eclipse/paho.mqtt.python/blob/master/examples/loop_asyncio.py) is really helpful in using this library with `asyncio`.

As `asyncio` and `async def` are part of the Python v3.5+, it would be helpful if this was a proper part of `paho.mqtt.python` (minus `print` statements), rather than merely a standalone example. That way, software using this library doesn't need to ship its own copy of that class.

For compatibility with older versions of Python, this should be in its own module.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.