asyncio compatibility
Posted: Mon May 07, 2018 7:35 pm
Hello, I'm trying to write a server that among other things reads from a temperature phidget. I'd like to use asyncio/aiohttp as my main event thread to handle incoming HTTP connections. I'm creating Phidgets Channel objects in Python 3.5, and when I run my Phidget code standalone, I am receiving attach, detach, and temperatureChange events. However, once I start my aiohttp.web.Application, I stop getting Phidget22 events (but continue to get async events).
What threading library does Phidget22 use? Is it possible to integrate the two event libraries?
Cheers!
What threading library does Phidget22 use? Is it possible to integrate the two event libraries?
Cheers!