'Wait until there is something to read from the named pipe or the
timeout passed as parameter has passed.
:param timeout: int representing the timeout in milliseconds'

def wait_for_read(self, timeout=win32event.INFINITE):

    if self._read_pending:
        self._wait_event(self._read.hEvent, timeout)
