async with tinytuya? #181
InterStella0
started this conversation in
General
Replies: 1 comment 3 replies
-
@InterStella0 Thanks for opening this discussion thread! The charter for TinyTuya is to be a simple to use python API library for Tuya devices, accessible to beginning python learners and advanced experts alike. It started as a drop in replacement for pytuya, which provided support for projects using Python 2.7 as well as 3.x. Moving to async would mean ending 2.7 support. However, we could implement a separate (optional) module that handles the async functionality. I love to hear perspective on this and any volunteers to help. 😁 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, are there any plans regarding adding support for async/await methods? It's a powerful syntax that are designed specifically for io bounds such as this library. Right now I'm just putting them in an executor to avoid implementing async myself as there is no async alternative to this library but it would be convenient when this library starts to support them.
Beta Was this translation helpful? Give feedback.
All reactions