def wait_read(fileno, timeout=None, timeout_exc=timeout('timed out')):
 io = get_hub().loop.io(fileno, 1)
 return wait(io, timeout, timeout_exc)

def wait_read ( fileno , timeout = None , timeout_exc = timeout ( 'timed out' ) ) : io = get_hub ( ) . loop . io ( fileno , 1 ) return wait ( io , timeout , timeout_exc )
block the current greenlet until *fileno* is ready to read .