@stuartcw
Without yet looking into it in any detail, that `while True:` loop sounds like it's either #computebound or #blocking. Maybe running a blocking call in a separate #thread can pretend to look like true #asynchronous #triggering. More stuff to ponder..
#computebound #blocking #thread #asynchronous #triggering