'Wait until node\'s output is readable.
timeoutms: timeout in ms or None to wait indefinitely.
returns: result of poll()'

def waitReadable(self, timeoutms=None):

    if (len(self.readbuf) == 0):
        return self.pollOut.poll(timeoutms)
