def waitfor(getter, timeout=3, interval=0.5, *args):
starttime = datetime.datetime.now()
while True...(wanted_value, current_value)
return current_value > wanted_value
if __name__ == '__main__':
waitfor...(testgetval, 1, 0.3, 2)
print '======================='
waitfor(testgetval, 1, 0.3, 8)
2, 2
0:00...00.605000
8, 7
0:00:00.907000
8, 8
0:00:01.209000
Traceback (most rece
File "multiver.py"
waitfor