adafruit / adafruit/Adafruit_CircuitPython_MiniMQTT

asyncio support?

Open
#159 2 comments 3 reactions 0 assignees View on GitHub
invalid long-term
Dominant language
Python
Stars
81
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Hi there,

due to issues like #148 and #138 I was wondering if it was possible to implement asyncio support in order to simultaneously process new mqtt events and do other stuff concurrently.
asyncio is suggested by adafruit as the way to deal with [concurrent tasks](https://learn.adafruit.com/cooperative-multitasking-in-circuitpython-with-asyncio/concurrent-tasks). So I was wondering, why the library does not support asyncio (yet?).

Best regards,
Rico

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing issues #148 and #138, then read the linked Adafruit CircuitPython asyncio guidance. Define which MiniMQTT APIs and event-processing behavior must change so MQTT events can run alongside other asyncio tasks; done means the intended concurrent usage is supported and documented by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.