method

wait

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: IO
wait(*args) public

Waits until IO is readable or writable without blocking and returns self, or nil when times out. Returns true immediately when buffered data is available. Optional parameter mode is one of :read, :write, or :read_write.

Show source
Register or log in to add new notes.