azure-iot-sdk-python icon indicating copy to clipboard operation
azure-iot-sdk-python copied to clipboard

Any plans to use async libs instead of threads?

Open JPHutchins opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

It seems like sync libs are being used and tossed onto OS threads, are there any plans to use asyncio libs? e.g. aiomqtt instead of paho mqtt https://github.com/empicano/aiomqtt

https://github.com/Azure/azure-iot-sdk-python/blob/e75d1c2026eab939d5d31097fd0c22924c53abf8/azure-iot-device/azure/iot/device/common/async_adapter.py#L16-L33

Describe the solution you'd like Usage of asyncio.

Describe alternatives you've considered If I had to I suppose I would just implement the calls manually.

JPHutchins avatar Oct 23 '24 19:10 JPHutchins