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 4.0

Fiber::Scheduler#io_close

io_close(fd)

Invoked by Ruby’s core methods to notify scheduler that the IO object is closed. Note that the method will receive an integer file descriptor of the closed object, not an object itself.

Ruby version changes

  1. 4.0