Hi Max,
I made this kind of a WaitStatement and I shared it now on the forum. So check this add-on WaitStatement for robot programming
WaitStatement understands inputs, outputs and component properties but it doesn’t support single boolean signal behaviours. If you know python API you can possibly extend it to support boolean signal behaviours.
-k