method

wait_readable

v2_6_3 - Show latest stable - Class: IO
wait_readable(*args)
public

Waits until IO is readable without blocking and returns self, or nil when times out. Returns true immediately when buffered data is available.