libgs.utils.wait_loop

libgs.utils.wait_loop(events_or_callables=[], timeout=None, dt=0.1)[source]

Generic waiting loop. It will wait for any event (of type threading.Event) to be set, or for any callable to return True