The #io_wait implementation expects to return the subset of events that are ready immediately, not a Scheduler object.
Without this PR the added timeout test (and the existing test with added wait_readable / wait_writable assertions) fail with TypeError: no implicit conversion of Libev::Scheduler into Integer.
The
#io_wait
implementation expects to return the subset of events that are ready immediately, not aScheduler
object.Without this PR the added timeout test (and the existing test with added
wait_readable
/wait_writable
assertions) fail withTypeError: no implicit conversion of Libev::Scheduler into Integer
.