Automation pHat poll input and read from stdin

I have an Automation pHad from which I need to poll one of the inputs and simultaneously block on stdin readline(). I believe the automationhat lib requires single-threaded access. Anyone have any thoughts on how to interleave these actions and, preferably, not drop any events? I previously tried using asyncio with a readline() timeout to then check the input but readline blocks indefinitely when used with asyncio.