def wait_for_event(self, event, timeout=<NUM_LIT:10>):
return self.__handler.wait_for_event(event, timeout=timeout)<EOL>
Block waiting for the given event. Returns the event params.

:param event: The event to handle.
:return: The event params.
:param timeout: The maximum time to wait before raising :exc:`.TimeoutError`.