Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method · added in Ruby 3.2

Fiber::Scheduler#io_select

io_select(readables, writables, exceptables, timeout)

Invoked by IO.select to ask whether the specified descriptors are ready for specified events within the specified timeout.

Expected to return the 3-tuple of Array of IOs that are ready.

Ruby version changes

  1. 3.2
See also #io_read #io_wait #io_pwrite #io_write also in 4.0 · 3.4 · 3.3 · 3.2