def wait_write(fileno, timeout=None, timeout_exc=_NONE, event=_NONE):
 io = get_hub().loop.io(fileno, 2)
 return wait(io, timeout, timeout_exc)

def wait_write ( fileno , timeout = None , timeout_exc = _NONE , event = _NONE ) : io = get_hub ( ) . loop . io ( fileno , 2 ) return wait ( io , timeout , timeout_exc )
block the current greenlet until *fileno* is ready to write .