'Wait for the given state(s), KeyboardInterrupt or SystemExit.
Since this class uses native win32event objects, the interval
argument is ignored.'

def wait(self, state, interval=0.1, channel=None):

    if isinstance(state, (tuple, list)):
        if (self.state not in state):
            events = tuple([self._get_state_event(s) for s in state])
            win32event.WaitForMultipleObjects(events, 0, win32event.INFINITE)
    elif (self.state != state):
        event = self._get_state_event(state)
        win32event.WaitForSingleObject(event, win32event.INFINITE)
