Skip to content

module IO::Evented

Methods

#evented_close

View source

#evented_read(slice : Bytes, errno_msg : String, &) : Int32

View source

#evented_reopen

View source

#evented_send(slice : Bytes, errno_msg : String, &) : Int32

View source

#evented_write(slice : Bytes, errno_msg : String, &) : Nil

View source

#read_timeout : Time::Span?

Returns the time to wait when reading before raising an IO::TimeoutError.

View source

#read_timeout=(read_timeout : Number) : Number

Sets the number of seconds to wait when reading before raising an IO::TimeoutError.

View source

#read_timeout=(timeout : Time::Span?) : Time::Span?

Sets the time to wait when reading before raising an IO::TimeoutError.

View source

#write_timeout : Time::Span?

Returns the time to wait when writing before raising an IO::TimeoutError.

View source

#write_timeout=(write_timeout : Number) : Number

Sets the number of seconds to wait when writing before raising an IO::TimeoutError.

View source

#write_timeout=(timeout : Time::Span?) : Time::Span?

Sets the time to wait when writing before raising an IO::TimeoutError.

View source